We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ff928 commit 7ef8a5bCopy full SHA for 7ef8a5b
ast.rs
@@ -43,7 +43,7 @@ pub enum ComponentValue {
43
Colon, // :
44
Semicolon, // ;
45
Comma, // ,
46
- IncludeMath, // ~=
+ IncludeMatch, // ~=
47
DashMatch, // |=
48
PrefixMatch, // ^=
49
SuffixMatch, // $=
tokenizer.rs
@@ -238,7 +238,7 @@ fn next_component_value(tokenizer: &mut Tokenizer) -> Option<Node> {
238
},
239
'}' => { tokenizer.position += 1; CloseCurlyBracket },
240
'~' => {
241
- if tokenizer.starts_with("~=") { tokenizer.position += 2; IncludeMath }
+ if tokenizer.starts_with("~=") { tokenizer.position += 2; IncludeMatch }
242
else { tokenizer.position += 1; Delim(c) }
243
244
_ => {
0 commit comments