Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add unit test
  • Loading branch information
philipp-spiess committed Nov 26, 2024
commit 9fbca74e0da94d1a12cd74b91cf3e4f1b38b1f9a
17 changes: 17 additions & 0 deletions packages/tailwindcss/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,23 @@ describe('compiling CSS', () => {
}"
`)
})

test('adds vendor prefixes', async () => {
expect(
await compileCss(
css`
@tailwind utilities;
`,
['[text-size-adjust:none]'],
),
).toMatchInlineSnapshot(`
".\\[text-size-adjust\\:none\\] {
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
text-size-adjust: none;
}"
`)
})
})

describe('arbitrary properties', () => {
Expand Down