mirror of
https://github.com/servo/servo.git
synced 2025-09-01 02:28:21 +01:00
Treat indefinite percentages as auto for margin collapse (#32059)
The top and bottom margins of an element can collapse through if its height is auto or zero. Indefinite percentages behave as auto, so they shouldn't prevent the margins from collapsing. Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
efa0d45757
commit
95654b789c
2 changed files with 27 additions and 21 deletions
|
@ -1,2 +0,0 @@
|
|||
[margin-collapse-through-percentage-height-block.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue