Re: [whatwg/dom] Add Marker interface (PR #1447)

WebReflection left a comment (whatwg/dom#1447)

`document.createMarker(kind = 'marker', attributes = {...})` would be a great API to me, it creates a `nodeType` `13` and it will throw if `kind` is not `marker`, `start` or `end` + it will add "*escaped marker attributes*" out of the box, with quoting and everything. 

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

Message ID: <whatwg/dom/pull/1447/c3785154661@github.com>

Received on Thursday, 22 January 2026 15:51:42 UTC