[wpt-sync] Sync PR 38722 - Make table columns stop using `LayoutBox::SetLogical{Width,Height}`
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38722 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38722
Details from upstream follow.
Andreu Botella <abotella@igalia.com> wrote:
Make table columns stop using
LayoutBox::SetLogical{Width,Height}Table columns and column groups don't need to be laid out, but they
have associatedLayoutBoxobjects, and they have a size that can be
queried withcol.offset{Height,Width}. This is achieved without
laying them out by callingLayoutBox::SetLogical{Width,Height}.
These methods, however, are being removed as part of the NoCopyBack
project.This change instead makes
LayoutNGTableColumnoverride
LayoutBox::Sizeto provide a size that can be set through methods
defined inLayoutNGTableColumn, independent ofLayoutBox. The
change also makescol.offset{Top,Left}work (by overriding
LayoutBox::Location) and makes sure that "out of bounds" columns and
colgroups (that is, columns and colgroup boxes which don't correspond
to any actual column in the table) have offset values that make sense.Bug: 1371882
Change-Id: I3dae24122479730af1841f09405a4d33694f1972
Reviewed-on: https://chromium-review.googlesource.com/4290876
WPT-Export-Revision: a2513fc6347b70da5002828d2558b09fccb57117
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 17 subtests
Status Summary
Firefox
OK : 3
PASS: 28
FAIL: 23
Chrome
OK : 3
PASS: 36
FAIL: 15
Safari
OK : 3
PASS: 19
FAIL: 32
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-break/table/table-parts-offsets-vertical-lr.tentative.html [wpt.fyi]
- cell4:
FAIL - content4:
FAIL
- cell4:
- /css/css-break/table/table-parts-offsets-vertical-rl.tentative.html [wpt.fyi]
- table:
FAIL
- table:
- /css/css-break/table/table-parts-offsets.tentative.html [wpt.fyi]
- cell4:
FAIL - content4:
FAIL
- cell4:
New Tests That Don't Pass
- /css/css-break/table/table-parts-offsets-vertical-lr.tentative.html [wpt.fyi]
- row2:
FAIL(Chrome:PASS, Safari:FAIL) - cell4:
FAIL(Chrome:PASS, Safari:PASS) - content4:
FAIL(Chrome:PASS, Safari:PASS)
- row2:
- /css/css-break/table/table-parts-offsets-vertical-rl.tentative.html [wpt.fyi]
- table:
FAIL(Chrome:PASS, Safari:PASS) - colgroup:
FAIL(Chrome:FAIL, Safari:FAIL) - col:
FAIL(Chrome:FAIL, Safari:FAIL) - col2:
FAIL(Chrome:FAIL, Safari:FAIL) - colgroup2:
FAIL(Chrome:FAIL, Safari:FAIL) - col3:
FAIL(Chrome:FAIL, Safari:FAIL) - rowgroup:
FAIL(Chrome:PASS, Safari:FAIL) - row:
FAIL(Chrome:PASS, Safari:FAIL) - cell:
FAIL(Chrome:PASS, Safari:FAIL) - content:
FAIL(Chrome:PASS, Safari:FAIL) - cell2:
FAIL(Chrome:PASS, Safari:FAIL) - content2:
FAIL(Chrome:PASS, Safari:FAIL) - cell3:
FAIL(Chrome:PASS, Safari:FAIL) - content3:
FAIL(Chrome:PASS, Safari:FAIL) - row2:
FAIL(Chrome:PASS, Safari:FAIL) - cell4:
FAIL(Chrome:PASS, Safari:FAIL) - content4:
FAIL(Chrome:PASS, Safari:FAIL)
- table:
- /css/css-break/table/table-parts-offsets.tentative.html [wpt.fyi]
- row2:
FAIL(Chrome:PASS, Safari:FAIL) - cell4:
FAIL(Chrome:PASS, Safari:PASS) - content4:
FAIL(Chrome:PASS, Safari:PASS)
- row2:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b14b8ae8eb8f
https://hg.mozilla.org/mozilla-central/rev/ae70eda35161
Description
•