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

@noamr commented on this pull request.



>  <div algorithm>
 <p>The <dfn attribute for=ProcessingInstruction>target</dfn> getter steps are to return
 <a>this</a>'s <a for=ProcessingInstruction>target</a>.
 </div>
 
+<div algorithm>
+<p>The <dfn method for=ProcessingInstruction><code>hasAttributes()</code></dfn> method steps are to
+return false if <a>this</a>'s <a for=ProcessingInstruction>attribute map</a>
+<a for=map>is empty</a>; otherwise true.
+</div>
+
+<div algorithm>
+<p>The <dfn method for=ProcessingInstruction><code>getAttributeNames()</code></dfn> method steps
+are to return the result of <a for=map>getting the keys</a> of <a>this</a>'s
+<a for=ProcessingInstruction>attribute map</a>.
+</div>
+
+<div algorithm>
+<p>The <dfn method for=ProcessingInstruction><code>getAttribute(<var>name</var>)</code></dfn> method
+steps are to return the result of <a lt="get a processing instruction attribute">getting a processing

Fixed

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

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

Received on Tuesday, 23 June 2026 10:06:39 UTC