- From: Andrea Giammarchi <notifications@github.com>
- Date: Fri, 23 Jan 2026 06:54:16 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 23 January 2026 14:54:20 UTC
WebReflection left a comment (whatwg/dom#1447) > We will also need a new "#marker" return value for node.nodeName, and probably a bunch of other little changes. I missed that, updated [the gist](https://gist.github.com/WebReflection/291357aa6bbbd97d54a971ce5f5aae4e?permalink_comment_id=5952616#gistcomment-5952616) to reflect that too ... it's looking good to me as polyfill: * the class extends `Node`, not *comment* * both `type` and `name` are reflected * all nodes are updated in the living DOM and in each ShadowRoot * literally nothing else happens You can `new Marker(type, name = '')` out of the box but comments found live or appended will be automatically promoted, no "*node substitution*" needed, just like custom elements would. I hope this will help shaping the specs. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1447#issuecomment-3790603481 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1447/c3790603481@github.com>
Received on Friday, 23 January 2026 14:54:20 UTC