@@ -114,17 +114,15 @@ test('details-content', async () => {
114114
115115test ( 'before' , async ( ) => {
116116 expect ( await run ( [ 'before:flex' ] ) ) . toMatchInlineSnapshot ( `
117- ".before\\:flex:before {
118- content: var(--tw-content);
119- display: flex;
117+ "@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
118+ *, :before, :after, ::backdrop {
119+ --tw-content: "";
120+ }
120121 }
121122
122- @supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
123- @layer base {
124- *, :before, :after, ::backdrop {
125- --tw-content: "";
126- }
127- }
123+ .before\\:flex:before {
124+ content: var(--tw-content);
125+ display: flex;
128126 }
129127
130128 @property --tw-content {
@@ -138,17 +136,15 @@ test('before', async () => {
138136
139137test ( 'after' , async ( ) => {
140138 expect ( await run ( [ 'after:flex' ] ) ) . toMatchInlineSnapshot ( `
141- ".after\\:flex:after {
142- content: var(--tw-content);
143- display: flex;
139+ "@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
140+ *, :before, :after, ::backdrop {
141+ --tw-content: "";
142+ }
144143 }
145144
146- @supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
147- @layer base {
148- *, :before, :after, ::backdrop {
149- --tw-content: "";
150- }
151- }
145+ .after\\:flex:after {
146+ content: var(--tw-content);
147+ display: flex;
152148 }
153149
154150 @property --tw-content {
@@ -2248,7 +2244,13 @@ test('variant order', async () => {
22482244 ] ,
22492245 ) ,
22502246 ) . toMatchInlineSnapshot ( `
2251- "@media (hover: hover) {
2247+ "@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
2248+ *, :before, :after, ::backdrop {
2249+ --tw-content: "";
2250+ }
2251+ }
2252+
2253+ @media (hover: hover) {
22522254 .group-hover\\:flex:is(:where(.group):hover *), .peer-hover\\:flex:is(:where(.peer):hover ~ *) {
22532255 display: flex;
22542256 }
@@ -2411,14 +2413,6 @@ test('variant order', async () => {
24112413 display: flex;
24122414 }
24132415
2414- @supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
2415- @layer base {
2416- *, :before, :after, ::backdrop {
2417- --tw-content: "";
2418- }
2419- }
2420- }
2421-
24222416 @property --tw-content {
24232417 syntax: "*";
24242418 inherits: false;
0 commit comments