Default list style to "outside" in Chrome

As per MDN list-style-position should default to outside, but after some testing, every Chromium based browser defaults this to inside. In IE 11 and Firefox 101, it defaults to outside, as it should.
This commit is contained in:
Lex Nastin 2022-06-05 11:33:39 +01:00 committed by GitHub
parent fc091cce15
commit 8415c42d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -347,3 +347,11 @@ template {
[hidden] { [hidden] {
display: none; display: none;
} }
/**
* Default list style to "outside" in Chrome
*/
li {
list-style-position: outside;
}