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

The base URL stuff in HTML is broken at least in the following way: it depends on concepts, "base URL change steps" and "affected by a base URL change", which no longer exist in DOM.

I think it used to be more broken, in that it used those concepts to do some complicated stuff like adjusting what `aElement.href` returned. Now it looks like it basically only updates UI stuff?

It's not clear to me we really need a dedicated section on that UI stuff, or anything algorithmic. It feels rather "obvious" to me that such UI needs to be a live display of the URL. The only instances of such UI that exist in today's browsers, to my knowledge, are all "just in time" (e.g. on hover or on DevTools interaction). There's no need to "push" updates to them.

So honestly I'd vote for just removing https://html.spec.whatwg.org/#dynamic-changes-to-base-urls entirely.

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

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

Received on Thursday, 1 December 2022 08:55:44 UTC