layout: Implement list-style-position quirk (#37837)

In quirks mode, the ::marker of a bare `<li>` should be
`list-style-position: inside`,

Testing: Some WPT improvement

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-07-03 11:16:54 +02:00 committed by GitHub
parent 6dafeb7a59
commit 00472dec8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 44 deletions

View file

@ -1,7 +1,4 @@
[lists-styles-quirks.html]
[<li> - list-style-position]
expected: FAIL
[<dir> (in <dir>) - margin-top]
expected: FAIL
@ -541,42 +538,3 @@
[<ul> (in <ul><ul>) - list-style-type]
expected: FAIL
[<li type="1"> - list-style-position]
expected: FAIL
[<li type="a" class="type-a"> - list-style-position]
expected: FAIL
[<li type="A" class="type-A"> - list-style-position]
expected: FAIL
[<li type="i" class="type-i"> - list-style-position]
expected: FAIL
[<li type="I" class="type-I"> - list-style-position]
expected: FAIL
[<li type="none"> - list-style-position]
expected: FAIL
[<li type="NONE"> - list-style-position]
expected: FAIL
[<li type="disc"> - list-style-position]
expected: FAIL
[<li type="DISC"> - list-style-position]
expected: FAIL
[<li type="circle"> - list-style-position]
expected: FAIL
[<li type="CIRCLE"> - list-style-position]
expected: FAIL
[<li type="square"> - list-style-position]
expected: FAIL
[<li type="SQUARE"> - list-style-position]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-height-in-list-item.html]
expected: FAIL