mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
layout: Zero out collapsed track sizes when painting collapsed borders (#35165)
We were painting collapsed borders without taking into account that some tracks might have been "removed" by `visibility: collapse`. This just sets the sizes of these tracks to zero. Note this implies that collapsed borders may overlap each other, or overlap cell contents, but this seems to match Blink. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
38847d4991
commit
7977357a57
4 changed files with 92 additions and 1 deletions
26
tests/wpt/meta/MANIFEST.json
vendored
26
tests/wpt/meta/MANIFEST.json
vendored
|
@ -105658,6 +105658,32 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"border-collapse-visibility-collapse-001.tentative.html": [
|
||||
"d2d6e9242b98eb82e41a90b865b3e0f4204d4464",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/CSS2/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"border-collapse-visibility-collapse-002.tentative.html": [
|
||||
"582934960946f65b2aa4f076e1ad4c3320e2352f",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/CSS2/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"border-conflict-element-001a.xht": [
|
||||
"585957f13b22ec2d0208f07deb127698d15ddea5",
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue