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

@noamr commented on this pull request.



> @@ -8550,6 +8557,42 @@ constructor steps are to set <a>this</a>'s <a for=CharacterData>data</a> to <var
 </div>
 
 
+<h3 id=interface-marker>Interface {{Marker}}</h3>
+
+<pre class=idl>
+enum MarkerType { "marker", "start", "end" };
+
+[Exposed=Window]
+interface Marker : Node {
+  constructor(MarkerType type, optional DOMString name = "");
+
+  readonly attribute MarkerType type;
+  readonly attribute DOMString name;
+};
+</pre>

Should also include mixin [`NonDocumentTypeChildNode`](https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode) I think.

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

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

Received on Monday, 26 January 2026 14:26:21 UTC