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:
Oriol Brufau 2024-04-12 14:14:35 +02:00 committed by GitHub
parent efa0d45757
commit 95654b789c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 21 deletions

View file

@ -1,2 +0,0 @@
[margin-collapse-through-percentage-height-block.html]
expected: FAIL