Closed Nashorn closed 1 month ago
This proposal only defines the syntax space, but then the various attributes (such as type: "json"
, or type: "css"
) are defined elsewhere. Given that HTML is not a JS concept, probably the best place to discuss it would be https://github.com/whatwg/html/, which is also where type: "css"
is defined.
However, please write an actual motivation for what you want it to behave like, and why you need it. You will need to convince two browser vendors that it's worth to implement it :)
Why not allow this?