mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
LibWeb: Don't distribute excess width to constrained columns
Bring our implementation closer to the specification, which distributes excess width to unconstrained columns first.
This commit is contained in:
parent
6bd4d44f73
commit
9cb4fe6a6f
4 changed files with 49 additions and 1 deletions
|
@ -69,6 +69,8 @@ private:
|
|||
CSSPixels max_size { 0 };
|
||||
CSSPixels used_width { 0 };
|
||||
double percentage_width { 0 };
|
||||
// Store whether the column is constrained: https://www.w3.org/TR/css-tables-3/#constrainedness
|
||||
bool is_constrained { false };
|
||||
};
|
||||
|
||||
struct Row {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue