WICG / scroll-to-text-fragment

Proposal to allow specifying a text snippet in a URL fragment
Other
589 stars 42 forks source link

Move fragment directive parsing to Document initialization #65

Closed nickburris closed 4 years ago

nickburris commented 4 years ago

This patch moves the fragment directive parsing steps out of the URL parser and into the document initialization steps.

One caveat is that the URL serialization can no longer refer to the URL's stored fragment directive. My solution is to refer to the "associated Document"'s fragment directive, but I'm open to other ideas here.

Fixes #60

nickburris commented 4 years ago

IPR bot has been stuck on pending, but details show it's green https://labs.w3.org/repo-manager/pr/id/WICG/ScrollToTextFragment/65