File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
packages/tailwindcss/tests Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -419,6 +419,9 @@ test('text shadow colors', async ({ page }) => {
419
419
>
420
420
Hello world
421
421
</ div>
422
+
423
+ <div id= "f" class = "text- shadow- xs/ 75"> Hello world </ div>
424
+ <div id= "g" class = "text- shadow- xs/ 75 text- shadow- red/ 75"> Hello world </ div>
422
425
` ,
423
426
)
424
427
@@ -435,6 +438,11 @@ test('text shadow colors', async ({ page }) => {
435
438
/ o k l a b \( 0 .6 2 7 \d + 0 .2 2 4 \d + 0 .1 2 5 \d + \) 0 p x 1 p x 1 p x / ,
436
439
)
437
440
441
+ expect ( await getPropertyValue ( '#f' , 'text-shadow' ) ) . toMatch ( / o k l a b \( 0 0 0 \/ 0 .7 5 \) 0 p x 1 p x 1 p x / )
442
+ expect ( await getPropertyValue ( '#g' , 'text-shadow' ) ) . toMatch (
443
+ / o k l a b \( 0 .6 2 7 \d + 0 .2 2 4 \d + 0 .1 2 5 \d + \/ 0 .5 6 \d + \) 0 p x 1 p x 1 p x / ,
444
+ )
445
+
438
446
await page . locator ( '#d' ) . hover ( )
439
447
440
448
expect ( await getPropertyValue ( '#d' , 'text-shadow' ) ) . toMatch (
You can’t perform that action at this time.
0 commit comments