LibWeb: Tests for rendering lists and their ordinals

The following tests also expose bugs before this PR:
- Layout/input/ol-render-item-values.html: negative ordinal values
- Layout/input/ol-render-deep-hybrid-list-item-list.html: ordinals
  deep into the list owner subtree
This commit is contained in:
Manuel Zahariev 2025-05-10 11:55:42 -07:00 committed by Sam Atkins
commit 20546725be
Notes: github-actions[bot] 2025-06-16 11:46:20 +00:00
18 changed files with 761 additions and 0 deletions

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<head>
<link rel="match" href="../expected/ol-render-nested-ref.html" />
</head>
<body>
<!--
FIXME: Add support hierarchical markers https://drafts.csswg.org/css-lists-3/#example-598c7e61
-->
<!DOCTYPE html>
<body>
<ol>
<li>One
<li value=5>Five
<ol start=31>
<li>Thirty-one
<li>Thirty-two
<ol reversed>
<li>Four
<li>Three
<li>Two
<li>One
</ol>
<li>Thirty-three
</ol>
<li>Six
</ol>
</body>
</body>