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.
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