You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use the syntax [^/class^], for example, to reference a global attribute I just get an error that whatever attribute I've named can't be found, even though I can reference the role attribute using [^/role^].
Adding a random element in front of the global attributes doesn't help, either.
Is there some other undocumented syntax to use for the global attributes, or is this a known limitation?
The text was updated successfully, but these errors were encountered:
if you search with xref, you'll see that [^global/class^] is the syntax that would work here; ultimately, the reason for this discrepancy is that the HTML spec hasn't historically applied the expected convention for global attributes. Presumably this could be fixed upstream, but this would likely require coordinating in fixing downstream specs that rely on the current name (there aren't so many for class, but this would have to be done for all global attributes)
I was looking in section 3.4 in the documentation but it doesn't mention you can search. I see now there's a link in s. 5.3, but it might help to have both locations reference the search page.
If I use the syntax
[^/class^]
, for example, to reference a global attribute I just get an error that whatever attribute I've named can't be found, even though I can reference therole
attribute using[^/role^]
.Adding a random element in front of the global attributes doesn't help, either.
Is there some other undocumented syntax to use for the global attributes, or is this a known limitation?
The text was updated successfully, but these errors were encountered: