aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/function.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-01-27 16:04:37 +0100
committerGitHub <noreply@github.com>2025-01-27 15:04:37 +0000
commit6b04bc6263726a789ff241af95702cb7c14d4202 (patch)
tree3fdc3fe0dd6c42c6bd8389cdd92dac54186651da /components/script/dom/bindings/function.rs
parentd5fcc5a5d50d270a1e96d91507a5c224240300bb (diff)
downloadservo-6b04bc6263726a789ff241af95702cb7c14d4202.tar.gz
servo-6b04bc6263726a789ff241af95702cb7c14d4202.zip
layout: Take percentage columns into account when sizing table grid min and max (#35167)
The specification doesn't say how to deal with percentages when determining the minimum and maximum size of a table grid, so follow the approach that Chromium uses. Essentially, figure out the "missing" percentage from the non-percentage columns and then use that to work backwards to fine the size of the percentage ones. This change is larger than one might expect, because this percentage approach shouldn't happen for tables that are descendants of a flex, grid or table container (except when there is an interceding absolute). We have to pass this information down when building the box tree. This will also make it easier to improve propagated text decorations in the future. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/bindings/function.rs')
0 files changed, 0 insertions, 0 deletions