aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser/async_html.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2023-06-21 11:04:29 +0200
committerOriol Brufau <obrufau@igalia.com>2023-06-21 18:00:05 +0200
commit0dd6abe0230c69df72b1e31b4793ffa548fc9300 (patch)
treed361a894a13e300b64718b7ef5ed006be0f78dd4 /components/script/dom/servoparser/async_html.rs
parentfa7107ac12a13ec4c7baffbd3fc13996f8cd9ac3 (diff)
downloadservo-0dd6abe0230c69df72b1e31b4793ffa548fc9300.tar.gz
servo-0dd6abe0230c69df72b1e31b4793ffa548fc9300.zip
Fix interaction of clearance with margin collapse
In #29897 I did the simple naive thing, but it wasn't entirely correct. This patch tries to address the problems. In particular: - Clearance should prevent margins from collapsing through if it happens between them, as opposed to on the element that owns them. - The margins of an element with clearance can still collapse through, and collapse with other siblings as normal, but the resulting margin can't collapse with the bottom margin of the parent.
Diffstat (limited to 'components/script/dom/servoparser/async_html.rs')
0 files changed, 0 insertions, 0 deletions