1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

LibWeb: Better align outer max sizes for cells with the specification

The formulas are different between the constrained and non-constrained.
This commit is contained in:
Andi Gallo 2023-07-13 03:33:11 +00:00 committed by Andreas Kling
parent 81d0b17987
commit 13687085dd
2 changed files with 52 additions and 25 deletions

View file

@ -85,6 +85,8 @@ private:
CSSPixels min_size { 0 };
CSSPixels max_size { 0 };
double percentage_height { 0 };
// Store whether the row is constrained: https://www.w3.org/TR/css-tables-3/#constrainedness
bool is_constrained { false };
};
struct Cell {