Re: [whatwg/webidl] Introduce three new extended attribute grammars (PR #1503)

@lukewarlow commented on this pull request.



> @@ -7003,6 +7047,17 @@ five forms are allowed.
         identifier "=" identifier
 </pre>
 
+<pre class="grammar" id="prod-ExtendedAttributeString">
+    ExtendedAttributeString :
+        identifier "=" string
+</pre>
+
+<pre class="grammar" id="prod-ExtendedAttributeNumber">

Splitting them ExtendedAttributeNumber into ExtendedAttributeDecimal and ExtendedAttributeInteger seems to fix this. I also wonder do we actually need to handle integer or can we just use decimal and do "2.0" when we want "2"?

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

Message ID: <whatwg/webidl/pull/1503/review/3019712760@github.com>

Received on Tuesday, 15 July 2025 10:31:08 UTC