diff --git a/tests/collapse-adjacent-rules.test.js b/tests/collapse-adjacent-rules.test.js index 69c471686..e38c4d5be 100644 --- a/tests/collapse-adjacent-rules.test.js +++ b/tests/collapse-adjacent-rules.test.js @@ -99,13 +99,6 @@ test('collapse adjacent rules', () => { color: #000; font-weight: 700; } - @supports (foo: bar) { - .some-apply-thing { - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); - font-weight: 700; - } - } @media (min-width: 768px) { .some-apply-thing { --tw-text-opacity: 1; @@ -114,6 +107,11 @@ test('collapse adjacent rules', () => { } } @supports (foo: bar) { + .some-apply-thing { + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity)); + font-weight: 700; + } @media (min-width: 768px) { .some-apply-thing { --tw-text-opacity: 1; diff --git a/tests/kitchen-sink.test.js b/tests/kitchen-sink.test.js index c91365732..15f3164f1 100644 --- a/tests/kitchen-sink.test.js +++ b/tests/kitchen-sink.test.js @@ -727,10 +727,6 @@ test('it works', () => { .group:active .group-active\:opacity-10 { opacity: 0.1; } - .foo\:custom-util, - .foo\:hover\:custom-util:hover { - background: #abcdef !important; - } @media (prefers-reduced-motion: no-preference) { .motion-safe\:transition { transition-property: color, background-color, border-color, text-decoration-color, fill, @@ -753,6 +749,10 @@ test('it works', () => { :is(.dark .dark\:custom-util) { background: #abcdef; } + .foo\:custom-util, + .foo\:hover\:custom-util:hover { + background: #abcdef !important; + } @media (min-width: 640px) { .sm\:text-center { text-align: center;