mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
layout: Remove wrong optimization when placing table among floats (#35207)
When we try to place a table next to some floats, and it doesn't fit vertically, then we try again considering more floats. And as an optimization we were using the previous width of the table as a minimum. However, this was wrong, because the table might accept a smaller width when the available space is smaller than beforehand. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
53fcc98585
commit
bc7cdab46f
4 changed files with 41 additions and 16 deletions
13
tests/wpt/meta/MANIFEST.json
vendored
13
tests/wpt/meta/MANIFEST.json
vendored
|
@ -59140,6 +59140,19 @@
|
|||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"table-among-floats-001.html": [
|
||||
"3bc8f4514528633e92222d0e65db7118259e7049",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-200px-square.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
]
|
||||
},
|
||||
"fonts": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue