Skip to content

Commit

Permalink
Revert "These rules should always apply. Include menu, dir."
Browse files Browse the repository at this point in the history
This reverts commit 57f5ab7.
  • Loading branch information
zcorpan committed Feb 4, 2025
1 parent 57f5ab7 commit 2b6cda2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -136009,11 +136009,7 @@ dir, menu, ul {
}
:is(dir, menu, ol, ul) :is(dir, menu, ol, ul) :is(dir, menu, ul) {
list-style-type: square;
}

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; }</code></pre>
}</code></pre>

<p id="decohints">The following rules are also expected to apply, as <span>presentational
hints</span>:</p>
Expand All @@ -136030,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; }</code></pre>

<p>In <span>quirks mode</span>, the following rules are also expected to apply:</p>

<pre><code class="css">@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; }</code></pre>

<p>When rendering <code>li</code> elements, non-CSS user agents are expected to use the
<span>ordinal value</span> of the <code>li</code> element to render the counter in the list item
marker.</p>
Expand Down

0 comments on commit 2b6cda2

Please sign in to comment.