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

@noamr commented on this pull request.



> +   <li><p>Append <var>value</var> to <var>data</var>.
+
+   <li><p>Append U+0022 (") to <var>data</var>.
+  </ol>
+
+ <li><p><a>Replace data</a> of <var>pi</var> with 0, <var>pi</var>'s <a for=Node>length</a>,
+ <var>data</var>, and true.
+</ol>
+</div>
+
+<div algorithm>
+<p>To <dfn export id=concept-pi-get-attribute>get a processing instruction attribute</dfn>, given a
+{{ProcessingInstruction}} <a for=/>node</a> <var>pi</var> and a string <var>name</var>:
+
+<ol>
+ <li><p>Let <var>lowercaseName</var> be <var>name</var> in <a>ASCII lowercase</a>.

I think that would be better since then the sanitizer can remain case sensitive 

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

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

Received on Monday, 15 June 2026 16:05:04 UTC