Prevent Preflight from affecting list semantics (#13815)

* Prevent Preflight from affecting list semantics

* Use `list-style` property

* Update snapshots

* Update changelog

---------

Co-authored-by: Jordan Pittman <[email protected]>
This commit is contained in:
Benoît Rouleau
2024-06-14 15:52:50 -04:00
committed by GitHub
co-authored by Jordan Pittman
parent f1eb7b4966
commit a588adc0c5
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -12,6 +12,7 @@ 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))
## [4.0.0-alpha.16] - 2024-06-07
@@ -553,7 +553,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
}
ol, ul, menu {
list-style: none;
list-style: "";
}
textarea {
+2 -2
View File
@@ -262,13 +262,13 @@ summary {
}
/*
Make lists unstyled by default.
Make lists unstyled by default, without affecting semantics. (https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics)
*/
ol,
ul,
menu {
list-style: none;
list-style: '';
}
/*