Re: [whatwg/url] [Proposal] Specify a fragment-directive meant for UA instructions (#445)

Hmm, perhaps. The idea is that we want to separate the URL fragment into two pieces: the "legacy fragment" and the "directive". e.g.: `https://example.com#fragment:~:directive`

Where "fragment" is placed in the URL's fragment field and "directive" is placed in the URL's fragment-directive field.

That said, we could keep the entire thing in the [fragment field] of the URL and perform all the same steps in the HTML spec. It'd require mutating the fragment field during loading and defining it as part of URL parsing seemed cleaner. However, I can appreciate that changing URL spec seems like a bigger deal (it's more foundational) so if you think keeping it all in HTML is a better approach I'd be happy to close this in favour of it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/445#issuecomment-540554567

Received on Thursday, 10 October 2019 12:41:21 UTC