File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
21
- _ Experimental_ : Add ` @source inline(…) ` ([ #17147 ] ( https://github.com/tailwindlabs/tailwindcss/pull/17147 ) )
22
22
- Add support for literal values in ` --value('…') ` and ` --modifier('…') ` ([ #17304 ] ( https://github.com/tailwindlabs/tailwindcss/pull/17304 ) )
23
23
- Add suggestions when ` --spacing(--value(integer, number)) ` is used ([ #17308 ] ( https://github.com/tailwindlabs/tailwindcss/pull/17308 ) )
24
+ - Add ` ::-webkit-details-marker ` pseudo to ` marker ` variant ([ #17362 ] ( https://github.com/tailwindlabs/tailwindcss/pull/17362 ) )
24
25
25
26
### Fixed
26
27
Original file line number Diff line number Diff line change @@ -50,6 +50,14 @@ test('marker', async () => {
50
50
51
51
.marker\\:flex::marker {
52
52
display: flex;
53
+ }
54
+
55
+ .marker\\:flex ::-webkit-details-marker {
56
+ display: flex;
57
+ }
58
+
59
+ .marker\\:flex::-webkit-details-marker {
60
+ display: flex;
53
61
}"
54
62
` )
55
63
expect ( await run ( [ 'marker/foo:flex' ] ) ) . toEqual ( '' )
@@ -2255,6 +2263,14 @@ test('variant order', async () => {
2255
2263
display: flex;
2256
2264
}
2257
2265
2266
+ .marker\\:flex ::-webkit-details-marker {
2267
+ display: flex;
2268
+ }
2269
+
2270
+ .marker\\:flex::-webkit-details-marker {
2271
+ display: flex;
2272
+ }
2273
+
2258
2274
.selection\\:flex ::selection {
2259
2275
display: flex;
2260
2276
}
Original file line number Diff line number Diff line change @@ -622,8 +622,12 @@ export function createVariants(theme: Theme): Variants {
622
622
staticVariant ( 'first-letter' , [ '&::first-letter' ] )
623
623
staticVariant ( 'first-line' , [ '&::first-line' ] )
624
624
625
- // TODO: Remove alpha vars or no?
626
- staticVariant ( 'marker' , [ '& *::marker' , '&::marker' ] )
625
+ staticVariant ( 'marker' , [
626
+ '& *::marker' ,
627
+ '&::marker' ,
628
+ '& *::-webkit-details-marker' ,
629
+ '&::-webkit-details-marker' ,
630
+ ] )
627
631
628
632
staticVariant ( 'selection' , [ '& *::selection' , '&::selection' ] )
629
633
staticVariant ( 'file' , [ '&::file-selector-button' ] )
You can’t perform that action at this time.
0 commit comments