diff --git a/packages/tailwindcss/src/utilities.test.ts b/packages/tailwindcss/src/utilities.test.ts index 66b051d57..3d99504d0 100644 --- a/packages/tailwindcss/src/utilities.test.ts +++ b/packages/tailwindcss/src/utilities.test.ts @@ -24,6 +24,10 @@ test('sr-only', async () => { expect(await run(['-sr-only', 'sr-only-[var(--value)]', 'sr-only/foo'])).toEqual('') }) +test('sr-only table caption (Firefox compatibility)', async () => { + expect(await run(['sr-only'])).toContain('clip-path: inset(50%);') +}) + test('not-sr-only', async () => { expect(await run(['not-sr-only'])).toMatchInlineSnapshot(` "