- From: Philip Jägenstedt <notifications@github.com>
- Date: Fri, 25 Apr 2025 00:55:27 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/issues/221/2829650747@github.com>
foolip left a comment (whatwg/dom#221) I'm not sure if there are partial interfaces somewhere, but actually it looks like both `HTMLDocument` and `XMLDocument` are empty in Chromium as well: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_document.idl;drc=5b8bfc413800d2246a7a58b7d86c78f590c7811b https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/dom/xml_document.idl;drc=5b8bfc413800d2246a7a58b7d86c78f590c7811b Gecko has a named getter on `HTMLDocument` but `XMLDocument` is empty: https://github.com/mozilla/gecko-dev/blob/8797dfc0012edd8c0f1594187c367d7887d5d31e/dom/webidl/HTMLDocument.webidl https://github.com/mozilla/gecko-dev/blob/8797dfc0012edd8c0f1594187c367d7887d5d31e/dom/webidl/XMLDocument.webidl There are many ways to create SVG documents, but I tried with iframe in https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=13707 and see that Chrome+Firefox+Safari all make that an `XMLDocument`. So things don't look so bad. But updating the spec and writing tests for every single place that creates a document is still a serious undertaking, no doubt. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/221#issuecomment-2829650747 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/221/2829650747@github.com>
Received on Friday, 25 April 2025 07:55:31 UTC