From 18db929f694fc6a6dc1aa23600d37323b1b798c1 Mon Sep 17 00:00:00 2001 From: zcorpan Date: Tue, 28 Jan 2025 22:19:57 +0100 Subject: [PATCH] Quirk: bare
  • have list-style-position: inside Fixes #10958. --- source | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source b/source index 864a982e0de..0c25081329f 100644 --- a/source +++ b/source @@ -136026,6 +136026,14 @@ ul[type=disc i], li[type=disc i] { list-style-type: disc; } ul[type=circle i], li[type=circle i] { list-style-type: circle; } ul[type=square i], li[type=square i] { list-style-type: square; } +

    In quirks mode, the following rules are also expected to apply:

    + +
    @namespace "http://www.w3.org/1999/xhtml";
    +
    +li { list-style-position: inside; }
    +li :is(ul, ol) { list-style-position: outside; }
    +:is(ul, ol) :is(ul, ol, li) { list-style-position: unset; }
    +

    When rendering li elements, non-CSS user agents are expected to use the ordinal value of the li element to render the counter in the list item marker.