Re: [whatwg/dom] Trusted types attributes (PR #1268)

@domfarolino commented on this pull request.



>   <li><p>Return <var>oldAttr</var>.
 </ol>
 </div>
 
 <div algorithm>
-<p>To <dfn export id=concept-element-attributes-set-value>set an attribute value</dfn> given an
-<a for=/>element</a> <var>element</var>, a string <var>localName</var>, a string <var>value</var>,
-an optional null or string <var>prefix</var> (default null), and an optional null or string
-<var>namespace</var> (default null):
+<p>To <dfn export id=concept-element-attributes-set-value>set an attribute value</dfn> given an <a

This was probably done by `specfmt`, as it basically follows the HTML wrapping rules where this is allowed. Would you prefer we not use it on non-HTML specs for now? I recall you being sympathetic to allowing this kind of wrapping outside of HTML, but maybe you'd prefer to do that only if we update the entire spec to that model.

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

Message ID: <whatwg/dom/pull/1268/review/2635214735@github.com>

Received on Saturday, 22 February 2025 19:46:23 UTC