1. #बादल
  2. #%E0%A4%AC%E0%A4%BE%E0%A4%A6%E0%A4%B2
  3. #Санкт-Петербург
  4. #%D0%A1%D0%B0%D0%BD%D0%BA%D1%82-%D0%9F%D0%B5%D1%82%D0%B5%D1%80%D0%B1%D1%83%D1%80%D0%B3
  5. #😀😀😀
  6. #%F0%9F%98%80%F0%9F%98%80%F0%9F%98%80

1. id="बादल"

2. id="%E0%A4%AC%E0%A4%BE%E0%A4%A6%E0%A4%B2" (बादल)

3. id="Санкт-Петербург"

4. id="%F0%9F%98%80%F0%9F%98%80%F0%9F%98%80" (😀😀😀)


Value of location.hash:
Value of document.getElementById(location.hash.substr(1)): -


Tested with: Chrome 55 / Ubuntu, Firefox 50 / Ubuntu, Chrome 55 / Mac OS, Firefox 50 / Mac OS, Opera 42 / Mac OS, Safari 10 / Mac OS
Selected entry 1 2 3 4 5 6
Expected anchor (per WHATWG URI 4.2 and 7.8.9) 1 1 3 3 - -
Chrome 1 2 3 3 - 4
Firefox 1 1 3 3 - -
Opera 1 2 3 3 - 4
Safari 2 2 3 3 4 4

repo