Changes between Initial Version and Version 1 of Ticket #44777, comment 6
- Timestamp:
- 06/05/2023 09:06:11 PM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44777, comment 6
initial v1 1 #57920notes that almost all of the 'classic' bundled themes (up to Twenty Twenty-One) have list style overrides for ordered lists. This was a clear design decision, good or bad, so any ordered lists that do not have the `type` attribute should continue to have the same style as the theme always gave.1 In #57920, @zoonini notes that almost all of the 'classic' bundled themes (up to Twenty Twenty-One) have list style overrides for ordered lists. This was a clear design decision, good or bad, so any ordered lists that do not have the `type` attribute should continue to have the same style as the theme always gave. 2 2 3 3 Raising the specificity with `ol:not([type])` could cause other issues. Using `ol:where(:not([type]))` might fit well for this situation in browsers that WordPress officially supports, though old browsers that have trouble with `:where()` might then show their default list type where it should be `none` (from the CSS reset). Adding a style for `ol[type]` only worked with `revert-layer` for me, and that has [https://developer.mozilla.org/en-US/docs/Web/CSS/revert-layer very low browser support].