diff a/layout/style/res/quirk.css b/layout/style/res/quirk.css (rejected hunks)
@@ -10,16 +10,16 @@
li {
list-style-position: inside;
}
/* restore outside position for lists inside LIs */
-li :is(ul, ol) {
+li :is(dir, menu, ol, ul) {
list-style-position: outside;
}
/* undo previous two rules for properly nested lists */
-:is(ul, ol) :is(ul, ol, li) {
+:is(dir, menu, ol, ul) :is(dir, menu, ol, ul, li) {
list-style-position: unset;
}
/* Quirk: ensure that we get proper padding if the very first
* node in an LI is another UL or OL. This is an ugly way to
Last update:
Raw error output:
Problem while applying patch in revision 256752:
Checking patch layout/style/res/quirk.css...
error: while searching for:
li {
list-style-position: inside;
}
/* restore outside position for lists inside LIs */
li :is(ul, ol) {
list-style-position: outside;
}
/* undo previous two rules for properly nested lists */
:is(ul, ol) :is(ul, ol, li) {
list-style-position: unset;
}
/* Quirk: ensure that we get proper padding if the very first
* node in an LI is another UL or OL. This is an ugly way to
error: patch failed: layout/style/res/quirk.css:10
Checking patch testing/web-platform/meta/html/rendering/non-replaced-elements/lists/lists-styles-quirks.html.ini...
Applying patch layout/style/res/quirk.css with 1 reject...
Rejected hunk #1.
Applied patch testing/web-platform/meta/html/rendering/non-replaced-elements/lists/lists-styles-quirks.html.ini cleanly.