diff --git a/crates/swc_css_parser/tests/fixture/at-rule/supports/output.json b/crates/swc_css_parser/tests/fixture/at-rule/supports/output.json index 963dda21661f..146659f16d18 100644 --- a/crates/swc_css_parser/tests/fixture/at-rule/supports/output.json +++ b/crates/swc_css_parser/tests/fixture/at-rule/supports/output.json @@ -6888,7 +6888,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 2543, "end": 2547, @@ -7560,7 +7560,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 2668, "end": 2719, diff --git a/crates/swc_css_parser/tests/fixture/selector/nesting/output.json b/crates/swc_css_parser/tests/fixture/selector/nesting/output.json index c0a7c8633fa1..82b104e03e39 100644 --- a/crates/swc_css_parser/tests/fixture/selector/nesting/output.json +++ b/crates/swc_css_parser/tests/fixture/selector/nesting/output.json @@ -2732,7 +2732,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 717, "end": 728, @@ -4824,7 +4824,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 1288, "end": 1293, @@ -6872,7 +6872,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 1800, "end": 1811, diff --git a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/basic/output.json b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/basic/output.json index fc3102d6f554..1b67da6c4036 100644 --- a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/basic/output.json +++ b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/basic/output.json @@ -1797,7 +1797,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 372, "end": 373, diff --git a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/is/output.json b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/is/output.json index 33412ba8a88b..786d1236154e 100644 --- a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/is/output.json +++ b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/is/output.json @@ -58,7 +58,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 5, "end": 7, @@ -239,7 +239,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 19, "end": 25, @@ -467,7 +467,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 37, "end": 57, @@ -788,7 +788,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 77, "end": 88, @@ -956,7 +956,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 97, "end": 114, @@ -1195,7 +1195,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 120, "end": 137, @@ -1434,7 +1434,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 143, "end": 156, @@ -1686,7 +1686,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 168, "end": 182, @@ -1879,7 +1879,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 194, "end": 210, @@ -2065,7 +2065,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 219, "end": 232, @@ -2338,7 +2338,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 252, "end": 268, @@ -2540,7 +2540,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 277, "end": 297, @@ -2736,7 +2736,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 307, "end": 319, @@ -2917,7 +2917,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 380, "end": 408, @@ -3156,7 +3156,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 414, "end": 436, @@ -3526,7 +3526,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 445, "end": 529, @@ -4655,7 +4655,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 669, "end": 689, @@ -4950,7 +4950,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 723, "end": 743, @@ -5314,7 +5314,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 752, "end": 775, @@ -5691,7 +5691,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 784, "end": 804, @@ -6068,7 +6068,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 813, "end": 836, @@ -6458,7 +6458,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 845, "end": 871, diff --git a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/not/output.json b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/not/output.json index 5e3150c1363b..85b49ec37a1a 100644 --- a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/not/output.json +++ b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/not/output.json @@ -1204,7 +1204,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 157, "end": 165, @@ -3557,7 +3557,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 455, "end": 467, diff --git a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/where/output.json b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/where/output.json index ca98b332139d..9262fae9a8d0 100644 --- a/crates/swc_css_parser/tests/fixture/selector/pseudo-class/where/output.json +++ b/crates/swc_css_parser/tests/fixture/selector/pseudo-class/where/output.json @@ -58,7 +58,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 8, "end": 10, @@ -239,7 +239,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 25, "end": 31, @@ -467,7 +467,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 46, "end": 66, @@ -788,7 +788,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 89, "end": 100, @@ -956,7 +956,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 112, "end": 129, @@ -1195,7 +1195,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 138, "end": 155, @@ -1434,7 +1434,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 164, "end": 177, @@ -1686,7 +1686,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 192, "end": 206, @@ -1879,7 +1879,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 221, "end": 237, @@ -2065,7 +2065,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 249, "end": 265, @@ -2338,7 +2338,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 288, "end": 304, @@ -2540,7 +2540,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 316, "end": 336, @@ -2736,7 +2736,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 349, "end": 361, @@ -2917,7 +2917,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 373, "end": 405, @@ -3152,7 +3152,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 416, "end": 459, @@ -3387,7 +3387,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 470, "end": 528, @@ -3754,7 +3754,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 540, "end": 701, @@ -4307,7 +4307,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 713, "end": 806, @@ -4637,7 +4637,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 837, "end": 841, @@ -4814,7 +4814,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 855, "end": 862, @@ -5051,7 +5051,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 876, "end": 882, @@ -5275,7 +5275,7 @@ }, "children": [ { - "type": "SelectorList", + "type": "ForgivingSelectorList", "span": { "start": 896, "end": 905,