Interoperability of 'The indicated part of the document' for HTML documents #2902
In the current specification, a rough algorithm to find "the indicated part of the document" for HTML documents is like:
However, it doesn't match to none of Chrome, Edge, Firefox, and Safari.
Chrome and Safari:
I hesitate to make Google Chrome match to the specification because it would introduce yet another incompatible implementation.
The text was updated successfully, but these errors were encountered:
Chrome and Safari check 'top' for both of not-decoded fragid and decoded fragid. So #top and #to%70 work. I don't think this behavior makes much sense.
Chrome and Safari both do a literal match first before using the decoded fragment. Edge does something very similar, though seems to differ in :target handling. Firefox would like to align per https://bugzilla.mozilla.org/show_bug.cgi?id=1380323 as our compliant behavior causes issues. Tests: web-platform-tests/wpt#6887. Fixes whatwg#2902.