diff options
author | Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com> | 2023-01-05 18:56:34 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-06 12:01:46 +0100 |
commit | b2a04ff48a95f795647aacefe6d41230397f458f (patch) | |
tree | 94450747146b77e03cd42c09ad9c741d00e70523 /Userland/Libraries/LibWeb/CSS/StyleSheetList.h | |
parent | 21d89a2153edf49f9debfa2503b8c39553370764 (diff) | |
download | serenity-b2a04ff48a95f795647aacefe6d41230397f458f.zip |
LibWeb: Consider percent and fixed widths in table column distribution
Change column distribution to take in account is_length() and
is_percentage() width values instead of treating all cells like
they have auto width by implementing it in the way described
in CSS Tables 3 spec:
https://www.w3.org/TR/css-tables-3/#width-distribution-algorithm
distribute_width_to_column() is structured to follow schema:
w3.org/TR/css-tables-3/images/CSS-Tables-Column-Width-Assignment.svg
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/StyleSheetList.h')
0 files changed, 0 insertions, 0 deletions