Skip to content

Commit e73818b

Browse files
authored
test for mixed components (#1186)
1 parent bfa445a commit e73818b

File tree

60 files changed

+212
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+212
-174
lines changed

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin-packs/postcss-preset-env/FEATURES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The `ID` listed is the key for PostCSS Preset Env configuration in your project.
5454
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/place-properties.svg" height="18">](https://cssdb.org/#place-properties) | `place-properties` | Place Properties | [example](https://preset-env.cssdb.org/features/#place-properties) | [docs](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-place#readme) |
5555
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/prefers-color-scheme-query.svg" height="18">](https://cssdb.org/#prefers-color-scheme-query) | `prefers-color-scheme-query` | `prefers-color-scheme` Media Query | [example](https://preset-env.cssdb.org/features/#prefers-color-scheme-query) | [docs](https://github.com/csstools/postcss-plugins/tree/main/plugins/css-prefers-color-scheme#readme) |
5656
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/rebeccapurple-color.svg" height="18">](https://cssdb.org/#rebeccapurple-color) | `rebeccapurple-color` | `rebeccapurple` Color | [example](https://preset-env.cssdb.org/features/#rebeccapurple-color) | [docs](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-rebeccapurple#readme) |
57-
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/relative-color-syntax.svg" height="18">](https://cssdb.org/#relative-color-syntax) | `relative-color-syntax` | Relative Color Syntax | [example](https://preset-env.cssdb.org/features/#relative-color-syntax) | [docs](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-relative-color-syntax#readme) |
57+
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/relative-color-syntax.svg" height="18">](https://cssdb.org/#relative-color-syntax) | `relative-color-syntax` | Relative Colors | [example](https://preset-env.cssdb.org/features/#relative-color-syntax) | [docs](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-relative-color-syntax#readme) |
5858
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/scope-pseudo-class.svg" height="18">](https://cssdb.org/#scope-pseudo-class) | `scope-pseudo-class` | `:scope()` Reference Element Pseudo-class | [example](https://preset-env.cssdb.org/features/#scope-pseudo-class) | [docs](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-scope-pseudo-class#readme) |
5959
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/stepped-value-functions.svg" height="18">](https://cssdb.org/#stepped-value-functions) | `stepped-value-functions` | `round()`, `mod()` and `rem()` functions | [example](https://preset-env.cssdb.org/features/#stepped-value-functions) | [docs](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-stepped-value-functions#readme) |
6060
| [<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/system-ui-font-family.svg" height="18">](https://cssdb.org/#system-ui-font-family) | `system-ui-font-family` | `system-ui` Font Family | [example](https://preset-env.cssdb.org/features/#system-ui-font-family) | [docs](https://github.com/JLHwung/postcss-font-family-system-ui#readme) |

plugin-packs/postcss-preset-env/test/basic.autoprefixer.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
}
599599
}
600600

601-
@supports (color: color(display-p3 0 0 0)) {
601+
@supports (color: color(display-p3 0 0 0%)) {
602602
.gradients-interpolation-method {
603603
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
604604
}

plugin-packs/postcss-preset-env/test/basic.autoprefixer.false.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
}
599599
}
600600

601-
@supports (color: color(display-p3 0 0 0)) {
601+
@supports (color: color(display-p3 0 0 0%)) {
602602
.gradients-interpolation-method {
603603
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
604604
}

plugin-packs/postcss-preset-env/test/basic.autoprefixer.remove.false.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@
617617
}
618618
}
619619

620-
@supports (color: color(display-p3 0 0 0)) {
620+
@supports (color: color(display-p3 0 0 0%)) {
621621
.gradients-interpolation-method {
622622
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
623623
}

plugin-packs/postcss-preset-env/test/basic.ch38.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@
510510
}
511511
}
512512

513-
@supports (color: color(display-p3 0 0 0)) {
513+
@supports (color: color(display-p3 0 0 0%)) {
514514
.gradients-interpolation-method {
515515
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
516516
}

plugin-packs/postcss-preset-env/test/basic.ch88-ff78-saf10.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
508508
}
509509
}
510510

511-
@supports (color: color(display-p3 0 0 0)) {
511+
@supports (color: color(display-p3 0 0 0%)) {
512512
.gradients-interpolation-method {
513513
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
514514
}

plugin-packs/postcss-preset-env/test/basic.ch88-ff78.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
502502
}
503503
}
504504

505-
@supports (color: color(display-p3 0 0 0)) {
505+
@supports (color: color(display-p3 0 0 0%)) {
506506
.gradients-interpolation-method {
507507
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
508508
}

plugin-packs/postcss-preset-env/test/basic.ch88-ff78.no-is-pseudo.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
502502
}
503503
}
504504

505-
@supports (color: color(display-p3 0 0 0)) {
505+
@supports (color: color(display-p3 0 0 0%)) {
506506
.gradients-interpolation-method {
507507
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
508508
}

plugin-packs/postcss-preset-env/test/basic.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@
617617
}
618618
}
619619

620-
@supports (color: color(display-p3 0 0 0)) {
620+
@supports (color: color(display-p3 0 0 0%)) {
621621
.gradients-interpolation-method {
622622
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
623623
}

plugin-packs/postcss-preset-env/test/basic.ff49.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@
511511
}
512512
}
513513

514-
@supports (color: color(display-p3 0 0 0)) {
514+
@supports (color: color(display-p3 0 0 0%)) {
515515
.gradients-interpolation-method {
516516
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
517517
}

plugin-packs/postcss-preset-env/test/basic.ff66.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
}
507507
}
508508

509-
@supports (color: color(display-p3 0 0 0)) {
509+
@supports (color: color(display-p3 0 0 0%)) {
510510
.gradients-interpolation-method {
511511
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
512512
}

plugin-packs/postcss-preset-env/test/basic.hebrew.all-browsers-have-support.expect.css

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
}
44

55
.test-custom-property-fallbacks {
6-
--firebrick: lab(40% 56.6 39);
6+
--firebrick: rgb(179, 35, 35);
77
}
88

99
.test-custom-properties {
@@ -95,8 +95,8 @@
9595
}
9696

9797
.test-lab-function {
98-
background-color: lab(40% 56.6 39);
99-
color: lch(40% 68.8 34.5 / 50%);
98+
background-color: rgb(179, 35, 35);
99+
color: rgba(179, 34, 35, 0.5);
100100
order: 17;
101101
}
102102

@@ -315,50 +315,50 @@
315315
}
316316

317317
.oklab {
318-
color-1: oklab(40% 0.001236 0.0039);
319-
color-2: oklab(40% 0.1236 0.0039 / 1);
320-
color-3: oklab(40% 0.1236 0.0039 / .5);
321-
color-4: oklab(40% 0.1236 0.0039 / 100%);
322-
color-5: oklab(40% 0.1236 0.0039 / 50%);
323-
color-6: oklab(60% 0.1 0);
318+
color-1: rgb(73, 71, 69);
319+
color-2: rgb(121, 34, 67);
320+
color-3: rgba(121, 34, 67, 0.5);
321+
color-4: rgb(121, 34, 67);
322+
color-5: rgba(121, 34, 67, 0.5);
323+
color-6: rgb(177, 102, 126);
324324
color-7: oklab(60% 0.1 0 foo);
325-
color-8: oklab(40.101% 0.1147 0.0453);
326-
color-9: oklab(59.686% 0.1009 0.1192);
327-
color-10: oklab(65.125% -0.0320 0.1274);
328-
color-11: oklab(66.016% -0.1084 0.1114);
329-
color-12: oklab(72.322% -0.0465 -0.1150);
325+
color-8: rgb(125, 35, 41);
326+
color-9: rgb(198, 93, 7);
327+
color-10: rgb(157, 147, 24);
328+
color-11: rgb(104, 166, 57);
329+
color-12: rgb(98, 172, 239);
330330
}
331331

332332
.oklch {
333-
color-1: oklch(40% 0.1268735435 34.568626);
334-
color-2: oklch(40% 0.1268735435 34.568626 / 1);
335-
color-3: oklch(40% 0.1268735435 34.568626 / .5);
336-
color-4: oklch(40% 0.1268735435 34.568626 / 100%);
337-
color-5: oklch(40% 0.1268735435 34.568626 / 50%);
338-
color-6: oklch(60% 0.150 0);
333+
color-1: rgb(126, 37, 15);
334+
color-2: rgb(126, 37, 15);
335+
color-3: rgba(126, 37, 15, 0.5);
336+
color-4: rgb(126, 37, 15);
337+
color-5: rgba(126, 37, 15, 0.5);
338+
color-6: rgb(197, 84, 124);
339339

340340
color-7: rgb(0, 149, 131);
341341
color-8: rgb(0, 149, 131);
342342
color-9: rgb(0, 149, 131);
343343
color-10: rgb(0, 149, 131);
344344
color-11: rgb(0, 149, 131);
345345

346-
color-12: oklch(60% 0.1250 45);
347-
color-13: oklch(60% 0.1250 45deg);
348-
color-14: oklch(60% 0.1250 0.125turn);
349-
color-15: oklch(60% 0.1250 50grad);
350-
color-16: oklch(60% 0.1250 0.785398rad);
346+
color-12: rgb(188, 101, 59);
347+
color-13: rgb(188, 101, 59);
348+
color-14: rgb(188, 101, 59);
349+
color-15: rgb(188, 101, 59);
350+
color-16: rgb(188, 101, 59);
351351
color-17: oklch(60% 0.1250 0.785398unknown);
352352
}
353353

354354
@media (color-gamut: p3) {
355355
.oklch {
356356

357-
color-7: oklch(60% 0.1250 180);
358-
color-8: oklch(60% 0.1250 180deg);
359-
color-9: oklch(60% 0.1250 0.5turn);
360-
color-10: oklch(60% 0.1250 200grad);
361-
color-11: oklch(60% 0.1250 3.14159rad);
357+
color-7: color(display-p3 0.19244 0.58461 0.51559);
358+
color-8: color(display-p3 0.19244 0.58461 0.51559);
359+
color-9: color(display-p3 0.19244 0.58461 0.51559);
360+
color-10: color(display-p3 0.19244 0.58461 0.51559);
361+
color-11: color(display-p3 0.19244 0.58461 0.51559);
362362
}
363363
}
364364

@@ -480,10 +480,10 @@
480480
background-image: radial-gradient(farthest-corner circle at 50% 115% in oklch, rgb(255, 157, 133) 0%, rgb(31, 251, 255) 100%);
481481
}
482482

483-
@media (color-gamut: rec2020) {
483+
@media (color-gamut: p3) {
484484
.gradients-interpolation-method {
485485

486-
background-image: radial-gradient(farthest-corner circle at 50% 115% in oklch, oklch(80% .3 34) 0%, oklch(90% .3 200) 100%);
486+
background-image: radial-gradient(farthest-corner circle at 50% 115% in oklch, color(display-p3 1 0.61669 0.51066) 0%, color(display-p3 0.46442 0.97081 1) 100%);
487487
}
488488
}
489489

plugin-packs/postcss-preset-env/test/basic.hebrew.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
613613
}
614614
}
615615

616-
@supports (color: color(display-p3 0 0 0)) {
616+
@supports (color: color(display-p3 0 0 0%)) {
617617
.gradients-interpolation-method {
618618
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
619619
}

plugin-packs/postcss-preset-env/test/basic.ie10.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@
634634
}
635635
}
636636

637-
@supports (color: color(display-p3 0 0 0)) {
637+
@supports (color: color(display-p3 0 0 0%)) {
638638
.gradients-interpolation-method {
639639
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
640640
}

plugin-packs/postcss-preset-env/test/basic.nesting.false.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
615615
}
616616
}
617617

618-
@supports (color: color(display-p3 0 0 0)) {
618+
@supports (color: color(display-p3 0 0 0%)) {
619619
.gradients-interpolation-method {
620620
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
621621
}

plugin-packs/postcss-preset-env/test/basic.op_mini.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
595595
}
596596
}
597597

598-
@supports (color: color(display-p3 0 0 0)) {
598+
@supports (color: color(display-p3 0 0 0%)) {
599599
.gradients-interpolation-method {
600600
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
601601
}

plugin-packs/postcss-preset-env/test/basic.preserve.false.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
734734
}
735735
}
736736

737-
@supports (color: color(display-p3 0 0 0)) {
737+
@supports (color: color(display-p3 0 0 0%)) {
738738
.gradients-interpolation-method {
739739
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
740740
}

plugin-packs/postcss-preset-env/test/basic.preserve.true.expect.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
--firebrick: rgb(179, 35, 35);
77
}
88

9-
@supports (color: lab(0% 0 0)) {
9+
@supports (color: lab(0% 0 0%)) {
1010
.test-custom-property-fallbacks {
1111
--firebrick: lab(40% 56.6 39);
1212
}
@@ -1002,7 +1002,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
10021002
}
10031003
}
10041004

1005-
@supports (color: color(display-p3 0 0 0)) {
1005+
@supports (color: color(display-p3 0 0 0%)) {
10061006
.gradients-interpolation-method {
10071007
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
10081008
}
@@ -1072,7 +1072,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
10721072
--color: rgb(0, 249, 66);
10731073
}
10741074

1075-
@supports (color: color(display-p3 0 0 0)) {
1075+
@supports (color: color(display-p3 0 0 0%)) {
10761076
.out-of-gamut {
10771077
--color: rgb(0, 249, 66);
10781078
}

plugin-packs/postcss-preset-env/test/basic.safari15.expect.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
}
44

55
.test-custom-property-fallbacks {
6-
--firebrick: lab(40% 56.6 39);
6+
--firebrick: rgb(179, 35, 35);
77
}
88

99
.test-custom-properties {
@@ -98,8 +98,8 @@
9898
}
9999

100100
.test-lab-function {
101-
background-color: lab(40% 56.6 39);
102-
color: lch(40% 68.8 34.5 / 50%);
101+
background-color: rgb(179, 35, 35);
102+
color: rgba(179, 34, 35, 0.5);
103103
order: 17;
104104
}
105105

@@ -487,7 +487,7 @@
487487
}
488488
}
489489

490-
@supports (color: color(display-p3 0 0 0)) {
490+
@supports (color: color(display-p3 0 0 0%)) {
491491
.gradients-interpolation-method {
492492
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
493493
}

plugin-packs/postcss-preset-env/test/basic.stage0-ff49.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
507507
}
508508
}
509509

510-
@supports (color: color(display-p3 0 0 0)) {
510+
@supports (color: color(display-p3 0 0 0%)) {
511511
.gradients-interpolation-method {
512512
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
513513
}

plugin-packs/postcss-preset-env/test/basic.stage0-ff66.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
502502
}
503503
}
504504

505-
@supports (color: color(display-p3 0 0 0)) {
505+
@supports (color: color(display-p3 0 0 0%)) {
506506
.gradients-interpolation-method {
507507
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
508508
}

plugin-packs/postcss-preset-env/test/basic.stage0.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ h1.test-custom-selectors:not(.does-not-exist), h2.test-custom-selectors:not(.doe
613613
}
614614
}
615615

616-
@supports (color: color(display-p3 0 0 0)) {
616+
@supports (color: color(display-p3 0 0 0%)) {
617617
.gradients-interpolation-method {
618618
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
619619
}

plugin-packs/postcss-preset-env/test/basic.supports-query.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
}
505505
}
506506

507-
@supports (color: color(display-p3 0 0 0)) {
507+
@supports (color: color(display-p3 0 0 0%)) {
508508
.gradients-interpolation-method {
509509
--background-image: linear-gradient(rgb(245, 137, 137) 0%, rgb(245, 140, 170), rgb(238, 146, 202), rgb(227, 155, 230), rgb(210, 166, 253), rgb(189, 181, 255), rgb(172, 194, 255), rgb(155, 205, 255), rgb(126, 217, 255), rgb(99, 228, 255), rgb(94, 237, 237) 100%);
510510
}

0 commit comments

Comments
 (0)