Re: [whatwg/dom] Define processing instruction attributes (PR #1454)

@foolip commented on this pull request.



> + <dd><p>Returns true if <var>pi</var> has an attribute named <var>name</var>; otherwise false.
+</dl>
+
+<div algorithm>
+<p>The
+<dfn constructor for=ProcessingInstruction lt=ProcessingInstruction(target)><code>new ProcessingInstruction(<var>target</var>, <var>data</var>)</code></dfn>
+constructor steps are:
+
+<ol>
+ <li><p>Set <a>this</a>'s <a for=Node>node document</a> to <a>current global object</a>'s
+ <a>associated <code>Document</code></a>.
+
+ <li><p><a for=ProcessingInstruction>Initialize</a> <a>this</a> with <var>target</var> and
+ <var>data</var>.
+
+ <li><p><a>Update attributes from data</a> for <a>this</a>.

Fixed in 4f28c0ab9a95d3aece5f6465b3adaec9979443dc.

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

Message ID: <whatwg/dom/pull/1454/review/4496281728@github.com>

Received on Monday, 15 June 2026 09:53:47 UTC