Table row heights in percentages are inconsistent with other browsers. #2389
Labels
bug
Something isn't working
has repro
We have a way to reproduce this bug.
layout
reduction of web content
Issue has a simplified reduction based on real-world web content.
Summary
The table height layout algorithms in CSS 2 say that CSS 2 does not specify what to do when the height is given as a percentage.
Despite that, both Firefox and Chrome agree on a behavior.
(I think they treat a percentage height as 0?)
This breaks https://www.psxdev.net/ in Ladybird.
Operating system
Linux
Steps to reproduce
Expected behavior
Ideally, Ladybird would follow whatever behavior the other browsers have here, especially since this causes breakages on real websites.
Actual behavior
Ladybird does something different from the other browsers.
URL for a reduced test case
https://www.psxdev.net/
HTML/SVG/etc. source for a reduced test case
Log output and (if possible) backtrace
None?
Screenshots or screen recordings
The reduced test case in Firefox:

The reduced test case in Ladybird:

Build flags or config settings
No response
Contribute a patch?
The text was updated successfully, but these errors were encountered: