- From: Philip Jägenstedt <notifications@github.com>
- Date: Thu, 22 Jan 2026 07:33:19 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 January 2026 15:33:23 UTC
foolip left a comment (whatwg/dom#1447)
@annevk this isn't complete, but I wanted to send it out because I'm not totally sure about a few choices.
- I think a single interface with a read-only type (marker/end/start) makes sense, but unlike elements you can't create a node with any string. I don't think we can allow `new Marker("doctype", "html")`, but am not sure if DOM should allow `new Marker("whatever")` even where HTML wouldn't parse `<!whatever>` into such a node.
- Should we have `document.createMarker()` in addition to the constructor?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1447#issuecomment-3785035107
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1447/c3785035107@github.com>
Received on Thursday, 22 January 2026 15:33:23 UTC