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
I'm wondering why it uses 58 or 78. Based on the other items, this is to specify the character in its hexadecimal form, but the hexadecimal form of the ASCII V is 0x56 (or 0x76 for lowercase), not 0x58 (this is the ASCII code for X). Therefore shouldn't V be defined as:
V v|\\0{0,4}(56|76)(\r\n|[ \t\r\n\f])?|\\v
or am I missing something?
The text was updated successfully, but these errors were encountered:
Likely, but the grammar section of Selectors has been completely replaced in later levels and probably isn't worth maintaining; we no longer define our grammars in that form. Instead they're defined with the Rule Definition Syntax from the Syntax spec, like https://drafts.csswg.org/selectors/#grammar
Out of curiosity, why are you looking at Selectors 3?
On the Lexical Scanner section of the documentation on the Selectors Level 3, the lexer defines
V
as:I'm wondering why it uses 58 or 78. Based on the other items, this is to specify the character in its hexadecimal form, but the hexadecimal form of the ASCII V is
0x56
(or0x76
for lowercase), not0x58
(this is the ASCII code forX
). Therefore shouldn'tV
be defined as:or am I missing something?
The text was updated successfully, but these errors were encountered: