diff --git a/CHANGELOG.md b/CHANGELOG.md index 25edaad623a8..c08b3a14a745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Don't set `display: none` on elements that use `hidden="until-found"` ([#14625](https://github.com/tailwindlabs/tailwindcss/pull/14625)) ## [3.4.13] - 2024-09-23 diff --git a/src/css/preflight.css b/src/css/preflight.css index 7a0d82d46e04..04b9d1424a32 100644 --- a/src/css/preflight.css +++ b/src/css/preflight.css @@ -381,6 +381,6 @@ video { } /* Make elements with the HTML hidden attribute stay hidden by default */ -[hidden] { +[hidden]:where(:not([hidden="until-found"])) { display: none; }