[whatwg/url] Make relative-URL-with-fragment string account for opaque-path base URLs (PR #920)

a/b against foo:opaque was considered valid by the writing section, but the parser would reject it. Now the writing section makes it clear it won't work.

Helps with #704.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/url/920.html" title="Last updated on Jun 30, 2026, 2:12 PM UTC (397c11d)">Preview</a> | <a href="https://whatpr.org/url/920/37afb50...397c11d.html" title="Last updated on Jun 30, 2026, 2:12 PM UTC (397c11d)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/920

-- Commit Summary --

  * Make relative-URL-with-fragment string account for opaque-path base URLs

-- File Changes --

    M url.bs (12)

-- Patch Links --

https://github.com/whatwg/url/pull/920.patch
https://github.com/whatwg/url/pull/920.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/920
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/pull/920@github.com>

Received on Tuesday, 30 June 2026 14:13:15 UTC