mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
layout: Implement keyword sizes for block layout heuristics (#34695)
Block layout uses some heuristics to guess whether margins are separated by clearance and then don't collapse. These heuristics now take the min-content, max-content, fit-content and stretch sizing keywords into account. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
2ab66ce678
commit
6be0a64939
9 changed files with 212 additions and 63 deletions
52
tests/wpt/meta/MANIFEST.json
vendored
52
tests/wpt/meta/MANIFEST.json
vendored
|
@ -243091,6 +243091,58 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-001.html": [
|
||||
"d5e293f85e9cde73c1efa60d66ccdea4618512db",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-002.html": [
|
||||
"a9e0e95522403b396a86aac3a5400ef8693c56d4",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-003.html": [
|
||||
"0e27b9ef7d16c19c76fab7314e089a122b8b9123",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-004.html": [
|
||||
"6d08bd81a73703fd068849117c0e12210097adee",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"grid-item-image-percentage-min-height-computes-as-0.html": [
|
||||
"ef3da03100229a846ca77156bdf34e5e37c92508",
|
||||
[
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-003.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-004.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue