mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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:
parent
6dafeb7a59
commit
00472dec8e
3 changed files with 5 additions and 44 deletions
|
@ -42,3 +42,8 @@ input:not([type=image]), textarea { box-sizing: border-box; }
|
|||
|
||||
img[align=left i] { margin-right: 3px; }
|
||||
img[align=right i] { margin-left: 3px; }
|
||||
|
||||
/* https://html.spec.whatwg.org/multipage/rendering.html#lists:quirks-mode */
|
||||
li { list-style-position: inside; }
|
||||
li :is(dir, menu, ol, ul) { list-style-position: outside; }
|
||||
:is(dir, menu, ol, ul) :is(dir, menu, ol, ul, li) { list-style-position: unset; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue