-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(css/prefixer): Support
overflow
(#6678)
- Loading branch information
1 parent
3922ef5
commit 1c7f003
Showing
9 changed files
with
326 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,68 @@ | ||
.class { | ||
text-overflow: clip; | ||
html.single-overflow { | ||
overflow: hidden; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: auto auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden /* a comment */ auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
|
||
.order-0 { | ||
-webkit-overflow: hidden auto; | ||
} | ||
|
||
.order-1 { | ||
-moz-overflow: hidden auto; | ||
} | ||
|
||
.order-2 { | ||
-ms-overflow: hidden auto; | ||
} | ||
|
||
.order-3 { | ||
-o-overflow: hidden auto; | ||
} | ||
|
||
.order-4 { | ||
--overflow: hidden auto; | ||
} | ||
|
||
.order-5 { | ||
foo-overflow: hidden auto; | ||
} | ||
|
||
/* overflow: hidden auto; */ | ||
|
||
.content { | ||
content: 'overflow: hidden auto;'; | ||
} | ||
|
||
.important { | ||
overflow: hidden auto !important; | ||
} | ||
|
||
@supports (overflow: hidden auto) { | ||
.support { | ||
overflow: hidden auto; | ||
} | ||
} | ||
@keyframes KEYFRAMES { | ||
50% { | ||
overflow: hidden auto; | ||
} | ||
} |
Oops, something went wrong.
1c7f003
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
es/full/bugs-1
304167
ns/iter (± 8296
)301411
ns/iter (± 7185
)1.01
es/full/minify/libraries/antd
1543063702
ns/iter (± 29962820
)1637144156
ns/iter (± 23189653
)0.94
es/full/minify/libraries/d3
280330979
ns/iter (± 7057983
)310079743
ns/iter (± 7288822
)0.90
es/full/minify/libraries/echarts
1164900926
ns/iter (± 13287313
)1267229402
ns/iter (± 16589257
)0.92
es/full/minify/libraries/jquery
87184715
ns/iter (± 870004
)91641353
ns/iter (± 648899
)0.95
es/full/minify/libraries/lodash
102583671
ns/iter (± 681571
)106197317
ns/iter (± 688802
)0.97
es/full/minify/libraries/moment
51037842
ns/iter (± 465008
)52809441
ns/iter (± 553907
)0.97
es/full/minify/libraries/react
18650521
ns/iter (± 125374
)19011488
ns/iter (± 79458
)0.98
es/full/minify/libraries/terser
235931097
ns/iter (± 4468084
)253895576
ns/iter (± 4297845
)0.93
es/full/minify/libraries/three
423963076
ns/iter (± 13988819
)454687258
ns/iter (± 12214190
)0.93
es/full/minify/libraries/typescript
2952842278
ns/iter (± 16441665
)3049840379
ns/iter (± 20471614
)0.97
es/full/minify/libraries/victory
637167976
ns/iter (± 14572489
)696186564
ns/iter (± 8182181
)0.92
es/full/minify/libraries/vue
125394831
ns/iter (± 702010
)133826662
ns/iter (± 1115535
)0.94
es/full/codegen/es3
26721
ns/iter (± 224
)27085
ns/iter (± 48
)0.99
es/full/codegen/es5
27103
ns/iter (± 256
)27070
ns/iter (± 41
)1.00
es/full/codegen/es2015
27207
ns/iter (± 229
)27084
ns/iter (± 35
)1.00
es/full/codegen/es2016
27356
ns/iter (± 141
)27018
ns/iter (± 41
)1.01
es/full/codegen/es2017
27307
ns/iter (± 235
)27111
ns/iter (± 57
)1.01
es/full/codegen/es2018
27303
ns/iter (± 111
)27081
ns/iter (± 55
)1.01
es/full/codegen/es2019
26721
ns/iter (± 138
)27055
ns/iter (± 46
)0.99
es/full/codegen/es2020
26689
ns/iter (± 154
)27080
ns/iter (± 149
)0.99
es/full/all/es3
167845611
ns/iter (± 3336833
)164865311
ns/iter (± 3031385
)1.02
es/full/all/es5
159369837
ns/iter (± 2554815
)158082715
ns/iter (± 3695467
)1.01
es/full/all/es2015
118984953
ns/iter (± 682479
)118736026
ns/iter (± 761425
)1.00
es/full/all/es2016
117932993
ns/iter (± 1018840
)118065636
ns/iter (± 528273
)1.00
es/full/all/es2017
117673051
ns/iter (± 851492
)118046030
ns/iter (± 431151
)1.00
es/full/all/es2018
117205186
ns/iter (± 495988
)116069265
ns/iter (± 867227
)1.01
es/full/all/es2019
115546211
ns/iter (± 763289
)115849653
ns/iter (± 776109
)1.00
es/full/all/es2020
111017538
ns/iter (± 618701
)110950923
ns/iter (± 428584
)1.00
es/full/parser
502391
ns/iter (± 7741
)508977
ns/iter (± 8401
)0.99
es/full/base/fixer
21596
ns/iter (± 165
)21804
ns/iter (± 20
)0.99
es/full/base/resolver_and_hygiene
76794
ns/iter (± 535
)77759
ns/iter (± 120
)0.99
serialization of ast node
115
ns/iter (± 0
)118
ns/iter (± 0
)0.97
serialization of serde
121
ns/iter (± 0
)123
ns/iter (± 0
)0.98
css/minify/libraries/bootstrap
26927498
ns/iter (± 177279
)28034627
ns/iter (± 108789
)0.96
css/visitor/compare/clone
2019554
ns/iter (± 12652
)2064706
ns/iter (± 21057
)0.98
css/visitor/compare/visit_mut_span
2211576
ns/iter (± 14188
)2251708
ns/iter (± 14475
)0.98
css/visitor/compare/visit_mut_span_panic
2260662
ns/iter (± 19084
)2315925
ns/iter (± 10700
)0.98
css/visitor/compare/fold_span
2967335
ns/iter (± 15956
)3061903
ns/iter (± 10726
)0.97
css/visitor/compare/fold_span_panic
3113169
ns/iter (± 14421
)3211086
ns/iter (± 18048
)0.97
css/lexer/bootstrap_5_1_3
5087287
ns/iter (± 42526
)5178960
ns/iter (± 1113
)0.98
css/lexer/foundation_6_7_4
4278093
ns/iter (± 38522
)4399467
ns/iter (± 3576
)0.97
css/lexer/tailwind_3_1_1
815338
ns/iter (± 5949
)832360
ns/iter (± 354
)0.98
css/parser/bootstrap_5_1_3
20956334
ns/iter (± 254134
)21683191
ns/iter (± 161335
)0.97
css/parser/foundation_6_7_4
16757493
ns/iter (± 87697
)17280106
ns/iter (± 82355
)0.97
css/parser/tailwind_3_1_1
3209846
ns/iter (± 19009
)3305406
ns/iter (± 15596
)0.97
es/codegen/colors
331841
ns/iter (± 189792
)331391
ns/iter (± 186052
)1.00
es/codegen/large
1289582
ns/iter (± 700880
)1232013
ns/iter (± 626029
)1.05
es/codegen/with-parser/colors
45722
ns/iter (± 614
)46762
ns/iter (± 100
)0.98
es/codegen/with-parser/large
502015
ns/iter (± 2757
)517030
ns/iter (± 2011
)0.97
es/minify/libraries/antd
1341670363
ns/iter (± 10860151
)1451329214
ns/iter (± 11684858
)0.92
es/minify/libraries/d3
243722592
ns/iter (± 2786185
)268009066
ns/iter (± 3700794
)0.91
es/minify/libraries/echarts
1026752865
ns/iter (± 8945520
)1102931928
ns/iter (± 10556861
)0.93
es/minify/libraries/jquery
76993299
ns/iter (± 667420
)79613348
ns/iter (± 1018151
)0.97
es/minify/libraries/lodash
92294297
ns/iter (± 620961
)97299027
ns/iter (± 1614362
)0.95
es/minify/libraries/moment
45047060
ns/iter (± 373992
)46263245
ns/iter (± 163949
)0.97
es/minify/libraries/react
16758837
ns/iter (± 125025
)17002319
ns/iter (± 135339
)0.99
es/minify/libraries/terser
201702855
ns/iter (± 1583708
)218018320
ns/iter (± 2403133
)0.93
es/minify/libraries/three
344279600
ns/iter (± 3537761
)387104933
ns/iter (± 11080954
)0.89
es/minify/libraries/typescript
2567636310
ns/iter (± 12060963
)2640007430
ns/iter (± 13257742
)0.97
es/minify/libraries/victory
561516743
ns/iter (± 11867972
)608442530
ns/iter (± 10744225
)0.92
es/minify/libraries/vue
113926990
ns/iter (± 1831057
)119053315
ns/iter (± 1426116
)0.96
es/visitor/compare/clone
2351168
ns/iter (± 34897
)2402248
ns/iter (± 20426
)0.98
es/visitor/compare/visit_mut_span
2791425
ns/iter (± 28822
)2800736
ns/iter (± 19021
)1.00
es/visitor/compare/visit_mut_span_panic
2768590
ns/iter (± 24746
)2862732
ns/iter (± 9760
)0.97
es/visitor/compare/fold_span
3841883
ns/iter (± 32602
)3879797
ns/iter (± 20733
)0.99
es/visitor/compare/fold_span_panic
3969085
ns/iter (± 26504
)4062147
ns/iter (± 16148
)0.98
es/lexer/colors
17176
ns/iter (± 197
)17117
ns/iter (± 6
)1.00
es/lexer/angular
8186048
ns/iter (± 36556
)8181569
ns/iter (± 2057
)1.00
es/lexer/backbone
1051517
ns/iter (± 9743
)1066416
ns/iter (± 478
)0.99
es/lexer/jquery
5834183
ns/iter (± 44468
)5913143
ns/iter (± 1953
)0.99
es/lexer/jquery mobile
8976926
ns/iter (± 46392
)9118869
ns/iter (± 5747
)0.98
es/lexer/mootools
4559901
ns/iter (± 25753
)4635222
ns/iter (± 1238
)0.98
es/lexer/underscore
875132
ns/iter (± 5990
)889847
ns/iter (± 476
)0.98
es/lexer/three
27426467
ns/iter (± 162385
)27629936
ns/iter (± 16403
)0.99
es/lexer/yui
4953611
ns/iter (± 46161
)5012083
ns/iter (± 1580
)0.99
es/parser/colors
31312
ns/iter (± 172
)31337
ns/iter (± 174
)1.00
es/parser/angular
15778213
ns/iter (± 248648
)16362893
ns/iter (± 273033
)0.96
es/parser/backbone
2321918
ns/iter (± 17804
)2347080
ns/iter (± 39898
)0.99
es/parser/jquery
12451375
ns/iter (± 90769
)12743426
ns/iter (± 154880
)0.98
es/parser/jquery mobile
19512551
ns/iter (± 96865
)20649269
ns/iter (± 359123
)0.94
es/parser/mootools
9462569
ns/iter (± 34092
)9717071
ns/iter (± 98323
)0.97
es/parser/underscore
1945549
ns/iter (± 16698
)1992695
ns/iter (± 10064
)0.98
es/parser/three
55789080
ns/iter (± 571113
)60498469
ns/iter (± 304034
)0.92
es/parser/yui
9479302
ns/iter (± 39873
)9741463
ns/iter (± 119748
)0.97
es/preset-env/usage/builtin_type
139599
ns/iter (± 31225
)140997
ns/iter (± 32050
)0.99
es/preset-env/usage/property
20879
ns/iter (± 132
)21472
ns/iter (± 86
)0.97
es/resolver/typescript
110367273
ns/iter (± 5546912
)111104242
ns/iter (± 2925258
)0.99
es/fixer/typescript
84783079
ns/iter (± 794624
)88573116
ns/iter (± 702193
)0.96
es/hygiene/typescript
165493190
ns/iter (± 1469024
)171622221
ns/iter (± 1181986
)0.96
es/resolver_with_hygiene/typescript
302490354
ns/iter (± 2552339
)316513766
ns/iter (± 1868940
)0.96
es/visitor/base-perf/module_clone
74788
ns/iter (± 1095
)74883
ns/iter (± 2081
)1.00
es/visitor/base-perf/fold_empty
85049
ns/iter (± 2168
)85694
ns/iter (± 2379
)0.99
es/visitor/base-perf/fold_noop_impl_all
84182
ns/iter (± 1053
)85191
ns/iter (± 1672
)0.99
es/visitor/base-perf/fold_noop_impl_vec
84436
ns/iter (± 2052
)85167
ns/iter (± 1536
)0.99
es/visitor/base-perf/boxing_boxed_clone
55
ns/iter (± 0
)59
ns/iter (± 0
)0.93
es/visitor/base-perf/boxing_unboxed_clone
59
ns/iter (± 0
)60
ns/iter (± 0
)0.98
es/visitor/base-perf/boxing_boxed
101
ns/iter (± 0
)106
ns/iter (± 0
)0.95
es/visitor/base-perf/boxing_unboxed
107
ns/iter (± 0
)102
ns/iter (± 0
)1.05
es/visitor/base-perf/visit_contains_this
3349
ns/iter (± 76
)3525
ns/iter (± 130
)0.95
es/base/parallel/resolver/typescript
5397358473
ns/iter (± 534412991
)5066440512
ns/iter (± 468196707
)1.07
es/base/parallel/hygiene/typescript
2001268233
ns/iter (± 33370432
)2015079794
ns/iter (± 38948046
)0.99
misc/visitors/time-complexity/time 5
92
ns/iter (± 0
)93
ns/iter (± 0
)0.99
misc/visitors/time-complexity/time 10
293
ns/iter (± 0
)293
ns/iter (± 3
)1
misc/visitors/time-complexity/time 15
603
ns/iter (± 0
)601
ns/iter (± 2
)1.00
misc/visitors/time-complexity/time 20
1132
ns/iter (± 9
)1143
ns/iter (± 20
)0.99
misc/visitors/time-complexity/time 40
6075
ns/iter (± 117
)5958
ns/iter (± 22
)1.02
misc/visitors/time-complexity/time 60
15486
ns/iter (± 6
)15189
ns/iter (± 54
)1.02
es/full-target/es2016
188612
ns/iter (± 420
)188238
ns/iter (± 537
)1.00
es/full-target/es2017
183228
ns/iter (± 382
)183779
ns/iter (± 337
)1.00
es/full-target/es2018
171528
ns/iter (± 508
)172435
ns/iter (± 265
)0.99
es2020_nullish_coalescing
66700
ns/iter (± 203
)66939
ns/iter (± 206
)1.00
es2020_optional_chaining
95832
ns/iter (± 10771
)95922
ns/iter (± 317
)1.00
es2022_class_properties
93944
ns/iter (± 143
)94420
ns/iter (± 328
)0.99
es2018_object_rest_spread
71493
ns/iter (± 153
)70862
ns/iter (± 303
)1.01
es2019_optional_catch_binding
61061
ns/iter (± 174
)61198
ns/iter (± 72
)1.00
es2017_async_to_generator
61237
ns/iter (± 161
)61649
ns/iter (± 89
)0.99
es2016_exponentiation
64735
ns/iter (± 128
)64611
ns/iter (± 97
)1.00
es2015_arrow
69709
ns/iter (± 270
)70068
ns/iter (± 324
)0.99
es2015_block_scoped_fn
65774
ns/iter (± 122
)66022
ns/iter (± 308
)1.00
es2015_block_scoping
138755
ns/iter (± 9693
)139198
ns/iter (± 7572
)1.00
es2015_classes
115845
ns/iter (± 456
)116079
ns/iter (± 325
)1.00
es2015_computed_props
61065
ns/iter (± 104
)60465
ns/iter (± 169
)1.01
es2015_destructuring
115684
ns/iter (± 381
)115164
ns/iter (± 204
)1.00
es2015_duplicate_keys
63894
ns/iter (± 153
)62298
ns/iter (± 90
)1.03
es2015_parameters
79049
ns/iter (± 133
)77691
ns/iter (± 117
)1.02
es2015_fn_name
65862
ns/iter (± 468
)65354
ns/iter (± 561
)1.01
es2015_for_of
64347
ns/iter (± 109
)63250
ns/iter (± 80
)1.02
es2015_instanceof
62889
ns/iter (± 134
)61606
ns/iter (± 56
)1.02
es2015_shorthand_property
60876
ns/iter (± 103
)59780
ns/iter (± 65
)1.02
es2015_spread
60911
ns/iter (± 167
)59695
ns/iter (± 119
)1.02
es2015_sticky_regex
62226
ns/iter (± 73
)60661
ns/iter (± 95
)1.03
es2015_typeof_symbol
62190
ns/iter (± 156
)60689
ns/iter (± 77
)1.02
es/transform/baseline/base
51627
ns/iter (± 75
)50635
ns/iter (± 106
)1.02
es/transform/baseline/common_reserved_word
62071
ns/iter (± 125
)61343
ns/iter (± 59
)1.01
es/transform/baseline/common_typescript
142902
ns/iter (± 1706
)139515
ns/iter (± 125
)1.02
es/target/es3
169174
ns/iter (± 370
)167579
ns/iter (± 426
)1.01
es/target/es2015
628547
ns/iter (± 876
)605564
ns/iter (± 1205
)1.04
es/target/es2016
64625
ns/iter (± 127
)63549
ns/iter (± 67
)1.02
es/target/es2017
61254
ns/iter (± 130
)60462
ns/iter (± 81
)1.01
es/target/es2018
81496
ns/iter (± 84
)79627
ns/iter (± 72
)1.02
es/target/es2020
132418
ns/iter (± 249
)129776
ns/iter (± 169
)1.02
babelify-only
666322
ns/iter (± 1049
)672143
ns/iter (± 1002
)0.99
parse_and_babelify_angular
42161566
ns/iter (± 692712
)46577191
ns/iter (± 1008935
)0.91
parse_and_babelify_backbone
5324301
ns/iter (± 35726
)5636753
ns/iter (± 54103
)0.94
parse_and_babelify_jquery
31090408
ns/iter (± 288084
)34021817
ns/iter (± 372256
)0.91
parse_and_babelify_jquery_mobile
56923063
ns/iter (± 970991
)57950839
ns/iter (± 821186
)0.98
parse_and_babelify_mootools
32690599
ns/iter (± 730474
)34660526
ns/iter (± 395550
)0.94
parse_and_babelify_underscore
4572995
ns/iter (± 133299
)4419936
ns/iter (± 30173
)1.03
parse_and_babelify_yui
32661465
ns/iter (± 1566826
)34051461
ns/iter (± 663609
)0.96
html/minify/document/css_spec
44125264
ns/iter (± 488284
)44126463
ns/iter (± 257590
)1.00
html/minify/document/github
17890898
ns/iter (± 121422
)17777811
ns/iter (± 40925
)1.01
html/minify/document/stackoverflow
16105053
ns/iter (± 142216
)16075360
ns/iter (± 87032
)1.00
html/minify/document_fragment/css_spec
43356775
ns/iter (± 718548
)42844950
ns/iter (± 144115
)1.01
html/minify/document_fragment/github
17468646
ns/iter (± 172135
)17007236
ns/iter (± 67376
)1.03
html/minify/document_fragment/stackoverflow
15888561
ns/iter (± 95158
)15540712
ns/iter (± 71566
)1.02
html/document/visitor/compare/clone
339383
ns/iter (± 1782
)344068
ns/iter (± 1882
)0.99
html/document/visitor/compare/visit_mut_span
368634
ns/iter (± 1838
)367961
ns/iter (± 2133
)1.00
html/document/visitor/compare/visit_mut_span_panic
375009
ns/iter (± 2142
)375749
ns/iter (± 2594
)1.00
html/document/visitor/compare/fold_span
402952
ns/iter (± 2045
)407964
ns/iter (± 1606
)0.99
html/document/visitor/compare/fold_span_panic
466114
ns/iter (± 2437
)462644
ns/iter (± 1508
)1.01
html/document_fragment/visitor/compare/clone
341515
ns/iter (± 1972
)341122
ns/iter (± 2595
)1.00
html/document_fragment/visitor/compare/visit_mut_span
370227
ns/iter (± 2213
)366939
ns/iter (± 2016
)1.01
html/document_fragment/visitor/compare/visit_mut_span_panic
378334
ns/iter (± 2052
)376854
ns/iter (± 1543
)1.00
html/document_fragment/visitor/compare/fold_span
408212
ns/iter (± 1934
)407707
ns/iter (± 3221
)1.00
html/document_fragment/visitor/compare/fold_span_panic
464498
ns/iter (± 1843
)458813
ns/iter (± 2883
)1.01
html/lexer/css_2021_spec
15546185
ns/iter (± 32388
)15613306
ns/iter (± 15955
)1.00
html/lexer/github_com_17_05_2022
6027502
ns/iter (± 2170
)6028508
ns/iter (± 1868
)1.00
html/lexer/stackoverflow_com_17_05_2022
5635821
ns/iter (± 2584
)5648355
ns/iter (± 1550
)1.00
html/parser/parser_document/css_2021_spec
27504716
ns/iter (± 251856
)27018558
ns/iter (± 362553
)1.02
html/parser/parser_document/github_com_17_05_2022
8846369
ns/iter (± 61671
)8839722
ns/iter (± 16147
)1.00
html/parser/parser_document/stackoverflow_com_17_05_2022
7695124
ns/iter (± 22801
)7809014
ns/iter (± 17336
)0.99
html/parser/parser_document_fragment/css_2021_spec
27400281
ns/iter (± 328721
)27405288
ns/iter (± 248810
)1.00
html/parser/parser_document_fragment/github_com_17_05_2022
8760889
ns/iter (± 49481
)8844299
ns/iter (± 13187
)0.99
html/parser/parser_document_fragment/stackoverflow_com_17_05_2022
7717509
ns/iter (± 32564
)7805097
ns/iter (± 12194
)0.99
This comment was automatically generated by workflow using github-action-benchmark.