Value of location.hash
:
Value of document.getElementById(location.hash.substr(1))
: -
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 |