Re: [whatwg/dom] Patch HTML's base URL stuff to be in terms of DOM (#61)

I was revisiting https://github.com/whatwg/html/issues/7383 which brought me here. What exactly is the work that needs to be done for this issue? Is it something like:
  1. Move the sort of COMEFROM-ey logic in https://html.spec.whatwg.org/multipage/urls-and-fetching.html#dynamic-changes-to-base-urls to explicit node subscription (where `<a>` elements etc., would explicitly subscribe to base URL updates)
  2. Have base URL updates in HTML call into the DOM spec, where we traverse the DOM notifying each subscribing-element of the base URL update and run its specific "respond to base URL update" steps?

Is it something like that? I was initially confused about this sentence from the OP:

> Then we need a way to set the base URL of a document from another specification.

The HTML Standard will still be responsible for setting the Document's base URL, right? Do we need to support the DOM Standard updating a Document's base URL?

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

Message ID: <whatwg/dom/issues/61/1328171969@github.com>

Received on Sunday, 27 November 2022 04:59:51 UTC