Revert “Prevent Preflight from affecting list semantics” (#13907)

Due to difference in how it handles an empty `<li>`: https://codepen.io/benface/pen/MWdRdyY
This commit is contained in:
Benoît Rouleau 2024-07-04 11:21:09 -04:00 • committed by GitHub
parent 407de01e8d
commit 3b85780f89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -12,7 +12,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `rounded-4xl` utility ([#13827](https://github.com/tailwindlabs/tailwindcss/pull/13827))
- Add `backdrop-blur-none` and `blur-none` utilities ([#13831](https://github.com/tailwindlabs/tailwindcss/pull/13831))
- Include variable in output for bare utilities like `rounded` ([#13836](https://github.com/tailwindlabs/tailwindcss/pull/13836))
- Preserve list semantics for `ul`, `li`, and `menu` by default ([#13815](https://github.com/tailwindlabs/tailwindcss/pull/13815))
### Fixed

View file

@ -553,7 +553,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
}
ol, ul, menu {
list-style: "";
list-style: none;
}
textarea {

View file

@ -262,13 +262,13 @@ summary {
}
/*
Make lists unstyled by default, without affecting semantics. (https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics)
Make lists unstyled by default.
*/
ol,
ul,
menu {
list-style: '';
list-style: none;
}
/*