mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
layout: Recreate lazy block size when re-doing layout to avoid floats (#38366)
Block-level boxes that establish an independent formatting context need to avoid overlapping floats. If their inline size stretches, then we may need to lay out multiple times. The problem was that when trying with a different inline size, the intrinsic block size can change, but we were using the cached final block size from the previous attempt. Testing: Adding new test Fixes: #38365 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
04ec710e60
commit
b01bb462b6
3 changed files with 51 additions and 8 deletions
13
tests/wpt/meta/MANIFEST.json
vendored
13
tests/wpt/meta/MANIFEST.json
vendored
|
@ -59963,6 +59963,19 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"floats-bfc-003.html": [
|
||||
"a40c6ae6c0e9edb2c696fc324abfa0c9eca35a91",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"floats-clear-multicol-000.html": [
|
||||
"3598a2f7aba955b5ba3e6ee1739bfd468d2b28ea",
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue