Re: [whatwg/dom] Copy a document's base URL when cloning (PR #1492)

@annevk commented on this pull request.



> @@ -5638,6 +5650,16 @@ known as <dfn export id=concept-document lt="document">documents</dfn>.
 Whether a <a for=/>document</a> is an <a>HTML document</a> or an <a>XML document</a> affects the
 behavior of certain APIs.
 
+<p>Each <a for=/>document</a> has an associated <dfn export>get the base URL</dfn> algorithm, which
+returns a <a for=/>URL</a> or null. Unless specified otherwise it returns null.

I prefer this style slightly. This is also what we do for "get the parent". In general I think we have to redo the insertion steps at some point due to ordering issues.

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

Message ID: <whatwg/dom/pull/1492/review/5038896842@github.com>

Received on Thursday, 27 August 2026 08:48:25 UTC