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
In this issue, I use @property/syntax as an example and assume that it will be defined with <syntax> at some point, because <syntax> is otherwise only used in features that are not yet implemented in any browser.
Similarly, the new parse with a syntax algo is not quite clear on case-sensitivity:
parse values according to syntax
Should it parse values case-insensitively, with the serialization of <syntax>, or against a grammar defined with enforced case-sensitivy because <syntax> produces <[custom-]ident>?
In hindsight, authors may or may not want case-sensitivite matching. For example, they might want case-sensitivity for animation-names, but case-insensitivity for color names.
Perhaps @property/case-sensitive defined as true | false (initial: true) may be a solution?
The text was updated successfully, but these errors were encountered:
In this issue, I use
@property/syntax
as an example and assume that it will be defined with<syntax>
at some point, because<syntax>
is otherwise only used in features that are not yet implemented in any browser.The above code results to an invalid rule in current version of Chrome and FF (at least).
Aside: "parse" links to an incorrect algo, as reported in w3c/css-houdini-drafts#1111, if I am not mistaken.
However, this code results to a valid custom property value:
Similarly, the new parse with a syntax algo is not quite clear on case-sensitivity:
Should it parse
values
case-insensitively, with the serialization of<syntax>
, or against a grammar defined with enforced case-sensitivy because<syntax>
produces<[custom-]ident>
?In hindsight, authors may or may not want case-sensitivite matching. For example, they might want case-sensitivity for
animation-name
s, but case-insensitivity for color names.Perhaps
@property/case-sensitive
defined astrue | false
(initial:true
) may be a solution?The text was updated successfully, but these errors were encountered: