diff options
author | Oriol Brufau <obrufau@igalia.com> | 2025-01-27 07:02:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 15:02:32 +0000 |
commit | d5fcc5a5d50d270a1e96d91507a5c224240300bb (patch) | |
tree | 3a7f3f9271174bf6631fedbfd6b48f78fcfc66dc /components/script/dom/bindings/buffer_source.rs | |
parent | 859cc6ab9b9da0bf92ff623f087ecd728cf120c2 (diff) | |
download | servo-d5fcc5a5d50d270a1e96d91507a5c224240300bb.tar.gz servo-d5fcc5a5d50d270a1e96d91507a5c224240300bb.zip |
layout: Improve fixed table layout (#35170)
If `width` is indefinite, treat the outer size as zero, instead of
treating the content size as zero and then adding padding and borders.
Also, we don't want a default minimum of zero to get added padding and
borders, and then defeat the point baove. So just ignore minimums and
maximums.
That seems to roughly match what other browsers do, but as usual, the
details are not interoperable, e.g. some browsers may obey min or max
sizing properties in some cases.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/bindings/buffer_source.rs')
0 files changed, 0 insertions, 0 deletions