Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty <li> elements stack on top of each other #3762

Open
1 task
ktbloomq opened this issue Mar 2, 2025 · 0 comments · May be fixed by #3777
Open
1 task

empty <li> elements stack on top of each other #3762

ktbloomq opened this issue Mar 2, 2025 · 0 comments · May be fixed by #3777

Comments

@ktbloomq
Copy link

ktbloomq commented Mar 2, 2025

Summary

When I render an array of empty list items in Ladybird, they render on top of each other. Strangely enough, the first empty element has some spacing, however, even in this case, it is less than expected.

Operating system

Linux

Steps to reproduce

1.Open data:text/html,<ol><li></li><li></li><li></li></ol>

Expected behavior

List items should be properly spaced

Image

Actual behavior

List items are rendered on top of each other

Image

URL for a reduced test case

data:text/html,<ol><li></li><li></li><li></li></ol>

HTML/SVG/etc. source for a reduced test case

<ol><li></li><li></li><li></li></ol>

Log output and (if possible) backtrace

N/A

Screenshots or screen recordings

No response

Build flags or config settings

No response

Contribute a patch?

  • I’ll contribute a patch for this myself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant