You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A base URI must conform to the <absolute-URI> syntax rule (Section 4.3). If the base URI is obtained from a URI reference, then that reference must be converted to absolute form and stripped of any fragment component prior to its use as a base URI.
The text was updated successfully, but these errors were encountered:
Browsers implement https://url.spec.whatwg.org which has no such rule. In particular a base URL is just a specially designated URL, that's it. There are certain places where we serialize without fragment identifier, but baseURI is not one of those places.
What is the issue with the HTML Standard?
I was surprised to see that the
baseURI
property in Chrome returns URLs that include a fragment identifier.I think it should be specified that document base URL should not include the fragment identifier.
This is because RFC3986 5.1 states:
The text was updated successfully, but these errors were encountered: