mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Fix border collapsing at the end of a table-row-group
This fixes the border-end calculation for table rows whose borders are collapsed with rows in different rowgroups. The border collapsing code now uses an iterator that yields all the rows as a flat sequence, regardless of how they are grouped in rowgroups. It gets rid of `TableRowGroupFlow::preliminary_collapsed_borders` which was never correct. (It was read but never written.) This may fix #8120 but I'm not 100% certain. (I haven't managed to reproduce the intermittent failure locally, and my reduced test case still fails but in a different way.)
This commit is contained in:
parent
4dc9d8b1c5
commit
6c684a5ac7
7 changed files with 181 additions and 139 deletions
|
@ -740,6 +740,18 @@
|
|||
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
|
||||
}
|
||||
],
|
||||
"css/border_collapse_rowgroup_a.html": [
|
||||
{
|
||||
"path": "css/border_collapse_rowgroup_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/border_collapse_rowgroup_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/border_collapse_rowgroup_a.html"
|
||||
}
|
||||
],
|
||||
"css/border_collapse_simple_a.html": [
|
||||
{
|
||||
"path": "css/border_collapse_simple_a.html",
|
||||
|
@ -6910,6 +6922,18 @@
|
|||
"url": "/_mozilla/css/border_collapse_missing_cell_a.html"
|
||||
}
|
||||
],
|
||||
"css/border_collapse_rowgroup_a.html": [
|
||||
{
|
||||
"path": "css/border_collapse_rowgroup_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/border_collapse_rowgroup_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/border_collapse_rowgroup_a.html"
|
||||
}
|
||||
],
|
||||
"css/border_collapse_simple_a.html": [
|
||||
{
|
||||
"path": "css/border_collapse_simple_a.html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue