test(sr-only): verify not-sr-only resets caption visibility correctly

This commit is contained in:
abdelrhmanahmed 2026-09-27 01:44:58 +03:00
parent 5fd34beb40
commit 3a62d6e7cd

View file

@ -46,6 +46,10 @@ test('not-sr-only', async () => {
expect(await run(['-not-sr-only', 'not-sr-only-[var(--value)]', 'not-sr-only/foo'])).toEqual('')
})
test('not-sr-only resets caption clipping', async () => {
expect(await run(['not-sr-only'])).toContain('clip-path: none;')
})
test('pointer-events', async () => {
expect(await run(['pointer-events-none', 'pointer-events-auto'])).toMatchInlineSnapshot(`
"