mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
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:
parent
00d43b39d1
commit
20546725be
Notes:
github-actions[bot]
2025-06-16 11:46:20 +00:00
Author: https://github.com/manuel-za
Commit: 20546725be
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4442
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/InvalidUsernameException
Reviewed-by: https://github.com/R-Goc
Reviewed-by: https://github.com/skyz1 ✅
18 changed files with 761 additions and 0 deletions
28
Tests/LibWeb/Ref/input/ol-render-nested.html
Normal file
28
Tests/LibWeb/Ref/input/ol-render-nested.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue