diff --git a/CHANGELOG.md b/CHANGELOG.md index dc68ba053..80ca115a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Enable Vite's `waitForRequestsIdle()` for client requests only ([#13394](https://github.com/tailwindlabs/tailwindcss/pull/13394)) +- Make sure `::first-letter` respectes `::selection` styles ([#13408](https://github.com/tailwindlabs/tailwindcss/pull/13408)) ## [4.0.0-alpha.11] - 2024-03-27 diff --git a/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap b/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap index 0a6802a4b..2378be457 100644 --- a/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap +++ b/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap @@ -406,7 +406,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = ` } @layer base { - *, :after, :before, ::backdrop, :first-letter { + *, :after, :before, ::backdrop { box-sizing: border-box; border: 0 solid; margin: 0; diff --git a/packages/tailwindcss/preflight.css b/packages/tailwindcss/preflight.css index 0a1911a62..8138927d8 100644 --- a/packages/tailwindcss/preflight.css +++ b/packages/tailwindcss/preflight.css @@ -8,7 +8,6 @@ ::after, ::before, ::backdrop, -::first-letter, ::file-selector-button { box-sizing: border-box; /* 1 */ margin: 0; /* 2 */