Skip to content

Commit 931db16

Browse files
Use margin-trim: block in the @property fallback detection (#20569)
Fixes #20568. ## Summary The `@property` fallback is gated on `not (margin-trim: inline)`. The CSSWG removed the inline values (w3c/csswg-drafts#13731), and Safari Technology Preview now rejects them, so the fallback resets override utilities there. This switches to `margin-trim: block`. That value is still in the grammar and shipped with `@property` in [Safari 16.4](https://webkit.org/blog/13966/webkit-features-in-safari-16-4/), so the branch still matches only older Safari. Firefox's branch is unchanged. I did not use `at-rule(@Property)`: browsers without `at-rule()` support would evaluate `not at-rule(…)` as true. ## Test plan - `pnpm vitest run packages/tailwindcss/src/index.test.ts -t 'fallback detection'`: fails on `main`, passes here. - `pnpm vitest run packages/tailwindcss`: 5107 passed, 1 skipped; snapshots updated for the new string. - Not run locally: the `@tailwindcss/postcss` tests and the integration tests (no oxide native build here). Prepared with AI assistance (Claude), reviewed and tested before submission. --------- Co-authored-by: Robin Malfait <[email protected]>
1 parent dfddfcd commit 931db16

12 files changed

Lines changed: 131 additions & 126 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4141
- Fix `Set.prototype.intersection` polyfill in `canonicalizeCandidates(…)` on Node.js < 22, which returned the first set instead of the intersection ([#20562](https://github.com/tailwindlabs/tailwindcss/pull/20562))
4242
- Canonicalization: fix inline `theme(…)` alphas with more than 2 decimals being migrated to a modifier that changes the opacity by a factor of 100 (e.g. `theme(colors.red.500/.12345)` → `text-red-500/[12.345%]`, not `text-red-500/[12.345]`) ([#20563](https://github.com/tailwindlabs/tailwindcss/pull/20563))
4343
- Canonicalization: keep inline `theme(…)` alphas as an arbitrary percentage when a custom `--opacity-*` theme value would change the opacity (e.g. `theme(colors.red.500/50%)` → `text-red-500/[50%]` with `--opacity-50: 10%`) ([#20563](https://github.com/tailwindlabs/tailwindcss/pull/20563))
44+
- Ensure the `@property` fallback isn't applied in Safari versions that no longer support `margin-trim: inline` ([#20569](https://github.com/tailwindlabs/tailwindcss/pull/20569))
4445

4546
## [4.3.3] - 2026-07-16
4647

‎integrations/cli/index.test.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ test(
16251625
initial-value: "";
16261626
}
16271627
@layer properties {
1628-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1628+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
16291629
*, ::before, ::after, ::backdrop {
16301630
--tw-content: "";
16311631
}
@@ -1876,7 +1876,7 @@ test(
18761876
initial-value: "";
18771877
}
18781878
@layer properties {
1879-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1879+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
18801880
*, ::before, ::after, ::backdrop {
18811881
--tw-content: "";
18821882
}
@@ -2126,7 +2126,7 @@ test(
21262126
initial-value: "";
21272127
}
21282128
@layer properties {
2129-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
2129+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
21302130
*, ::before, ::after, ::backdrop {
21312131
--tw-content: "";
21322132
}
@@ -2195,7 +2195,7 @@ test(
21952195
initial-value: "";
21962196
}
21972197
@layer properties {
2198-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
2198+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
21992199
*, ::before, ::after, ::backdrop {
22002200
--tw-content: "";
22012201
}
@@ -2390,7 +2390,7 @@ test(
23902390
initial-value: "";
23912391
}
23922392
@layer properties {
2393-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
2393+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
23942394
*, ::before, ::after, ::backdrop {
23952395
--tw-content: "";
23962396
}
@@ -2473,7 +2473,7 @@ test(
24732473
initial-value: "";
24742474
}
24752475
@layer properties {
2476-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
2476+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
24772477
*, ::before, ::after, ::backdrop {
24782478
--tw-content: "";
24792479
}
@@ -3130,7 +3130,7 @@ test(
31303130
initial-value: 0 0 #0000;
31313131
}
31323132
@layer properties {
3133-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3133+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
31343134
*, ::before, ::after, ::backdrop {
31353135
--tw-shadow: 0 0 #0000;
31363136
--tw-shadow-color: initial;

‎integrations/postcss/source.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ test(
137137
initial-value: "";
138138
}
139139
@layer properties {
140-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
140+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
141141
*, ::before, ::after, ::backdrop {
142142
--tw-content: "";
143143
}
@@ -379,7 +379,7 @@ test(
379379
initial-value: "";
380380
}
381381
@layer properties {
382-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
382+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
383383
*, ::before, ::after, ::backdrop {
384384
--tw-content: "";
385385
}
@@ -614,7 +614,7 @@ test(
614614
initial-value: "";
615615
}
616616
@layer properties {
617-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
617+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
618618
*, ::before, ::after, ::backdrop {
619619
--tw-content: "";
620620
}
@@ -722,7 +722,7 @@ test(
722722
initial-value: "";
723723
}
724724
@layer properties {
725-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
725+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
726726
*, ::before, ::after, ::backdrop {
727727
--tw-content: "";
728728
}

‎packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
44
"
55
@layer properties {
6-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
6+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
77
*, :before, :after, ::backdrop {
88
--tw-font-weight: initial;
99
}

‎packages/tailwindcss/src/__snapshots__/index.test.ts.snap‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`compiling CSS > \`@tailwind utilities\` is replaced by utilities using the default theme 1`] = `
44
"
55
@layer properties {
6-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
6+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
77
*, :before, :after, ::backdrop {
88
--tw-shadow: 0 0 #0000;
99
--tw-shadow-color: initial;

‎packages/tailwindcss/src/__snapshots__/utilities.test.ts.snap‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`border-* 1`] = `
44
"
55
@layer properties {
6-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
6+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
77
*, :before, :after, ::backdrop {
88
--tw-border-style: solid;
99
}
@@ -190,7 +190,7 @@ exports[`border-* 1`] = `
190190
exports[`border-b-* 1`] = `
191191
"
192192
@layer properties {
193-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
193+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
194194
*, :before, :after, ::backdrop {
195195
--tw-border-style: solid;
196196
}
@@ -377,7 +377,7 @@ exports[`border-b-* 1`] = `
377377
exports[`border-be-* 1`] = `
378378
"
379379
@layer properties {
380-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
380+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
381381
*, :before, :after, ::backdrop {
382382
--tw-border-style: solid;
383383
}
@@ -564,7 +564,7 @@ exports[`border-be-* 1`] = `
564564
exports[`border-bs-* 1`] = `
565565
"
566566
@layer properties {
567-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
567+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
568568
*, :before, :after, ::backdrop {
569569
--tw-border-style: solid;
570570
}
@@ -751,7 +751,7 @@ exports[`border-bs-* 1`] = `
751751
exports[`border-e-* 1`] = `
752752
"
753753
@layer properties {
754-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
754+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
755755
*, :before, :after, ::backdrop {
756756
--tw-border-style: solid;
757757
}
@@ -938,7 +938,7 @@ exports[`border-e-* 1`] = `
938938
exports[`border-l-* 1`] = `
939939
"
940940
@layer properties {
941-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
941+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
942942
*, :before, :after, ::backdrop {
943943
--tw-border-style: solid;
944944
}
@@ -1125,7 +1125,7 @@ exports[`border-l-* 1`] = `
11251125
exports[`border-r-* 1`] = `
11261126
"
11271127
@layer properties {
1128-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1128+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
11291129
*, :before, :after, ::backdrop {
11301130
--tw-border-style: solid;
11311131
}
@@ -1312,7 +1312,7 @@ exports[`border-r-* 1`] = `
13121312
exports[`border-s-* 1`] = `
13131313
"
13141314
@layer properties {
1315-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1315+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
13161316
*, :before, :after, ::backdrop {
13171317
--tw-border-style: solid;
13181318
}
@@ -1499,7 +1499,7 @@ exports[`border-s-* 1`] = `
14991499
exports[`border-t-* 1`] = `
15001500
"
15011501
@layer properties {
1502-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1502+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
15031503
*, :before, :after, ::backdrop {
15041504
--tw-border-style: solid;
15051505
}
@@ -1686,7 +1686,7 @@ exports[`border-t-* 1`] = `
16861686
exports[`border-x-* 1`] = `
16871687
"
16881688
@layer properties {
1689-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1689+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
16901690
*, :before, :after, ::backdrop {
16911691
--tw-border-style: solid;
16921692
}
@@ -1873,7 +1873,7 @@ exports[`border-x-* 1`] = `
18731873
exports[`border-y-* 1`] = `
18741874
"
18751875
@layer properties {
1876-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1876+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
18771877
*, :before, :after, ::backdrop {
18781878
--tw-border-style: solid;
18791879
}

‎packages/tailwindcss/src/ast.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,11 @@ export function optimizeAst(
655655
'@supports',
656656
// We can't write a supports query for `@property` directly so we have to test for
657657
// features that are added around the same time in Mozilla and Safari.
658-
'((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))',
658+
//
659+
// Safari shipped `margin-trim` together with `@property` (Safari 16.4). We test `block`
660+
// because the `inline` values were removed from the spec and newer Safari versions
661+
// reject them: https://github.com/w3c/csswg-drafts/issues/13731
662+
'((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))',
659663
fallbackAst,
660664
),
661665
])

‎packages/tailwindcss/src/compat/config.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ describe('theme callbacks', () => {
381381
).toMatchInlineSnapshot(`
382382
"
383383
@layer properties {
384-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
384+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
385385
*, :before, :after, ::backdrop {
386386
--tw-leading: initial;
387387
}

‎packages/tailwindcss/src/important.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ test('variables in utilities should not be marked as important', async () => {
103103
).toMatchInlineSnapshot(`
104104
"
105105
@layer properties {
106-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
106+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
107107
*, :before, :after, ::backdrop {
108108
--tw-ease: initial;
109109
}

‎packages/tailwindcss/src/index.test.ts‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ describe('@apply', () => {
412412
).toMatchInlineSnapshot(`
413413
"
414414
@layer properties {
415-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
415+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
416416
*, :before, :after, ::backdrop {
417417
--tw-translate-x: 0;
418418
--tw-translate-y: 0;
@@ -533,7 +533,7 @@ describe('@apply', () => {
533533
).toMatchInlineSnapshot(`
534534
"
535535
@layer properties {
536-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
536+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
537537
*, :before, :after, ::backdrop {
538538
--tw-content: "";
539539
}
@@ -570,7 +570,7 @@ describe('@apply', () => {
570570
).toMatchInlineSnapshot(`
571571
"
572572
@layer properties {
573-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
573+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
574574
*, :before, :after, ::backdrop {
575575
--tw-leading: initial;
576576
}
@@ -1026,7 +1026,7 @@ describe('variant stacking', () => {
10261026
expect(await run(['before:hover:flex', 'hover:before:flex'])).toMatchInlineSnapshot(`
10271027
"
10281028
@layer properties {
1029-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1029+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
10301030
*, :before, :after, ::backdrop {
10311031
--tw-content: "";
10321032
}
@@ -1208,7 +1208,7 @@ describe('sorting', () => {
12081208
).toMatchInlineSnapshot(`
12091209
"
12101210
@layer properties {
1211-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1211+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
12121212
*, :before, :after, ::backdrop {
12131213
--tw-space-x-reverse: 0;
12141214
}
@@ -1884,7 +1884,7 @@ describe('Parsing theme values from CSS', () => {
18841884
).toMatchInlineSnapshot(`
18851885
"
18861886
@layer properties {
1887-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1887+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
18881888
*, :before, :after, ::backdrop {
18891889
--tw-font-weight: initial;
18901890
}
@@ -1933,7 +1933,7 @@ describe('Parsing theme values from CSS', () => {
19331933
).toMatchInlineSnapshot(`
19341934
"
19351935
@layer properties {
1936-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1936+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
19371937
*, :before, :after, ::backdrop {
19381938
--tw-shadow: 0 0 #0000;
19391939
--tw-shadow-color: initial;
@@ -6910,7 +6910,7 @@ describe('`color-mix(…)` polyfill', () => {
69106910
).toMatchInlineSnapshot(`
69116911
"
69126912
@layer properties {
6913-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
6913+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
69146914
*, :before, :after, ::backdrop {
69156915
--tw-shadow: 0 0 #0000;
69166916
--tw-shadow-color: initial;
@@ -7094,7 +7094,7 @@ describe('`@property` polyfill', async () => {
70947094
).toMatchInlineSnapshot(`
70957095
"
70967096
@layer properties {
7097-
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
7097+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
70987098
:root, :host {
70997099
--inherit-no-value: initial;
71007100
--inherit-value: red;

0 commit comments

Comments
 (0)