[wpt-sync] Sync PR 65039 - Invalidate layout when gap rules become visible
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65039 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65039
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Invalidate layout when gap rules become visible
Layout only populates GapGeometry when HasGapRule() is true. Previously,
DiffNeedsFullLayout() only triggered full layout when column-rule-style
or row-rule-style changed from initial 'none', and only those properties
invalidated the gap-decorations diff flag.However, HasColumnRule() and HasRowRule() also depend on rule width
being non-zero and rule color not being fully transparent (including
via currentcolor).Add gap-decorations invalidation to column-rule-color, row-rule-color,
column-rule-width, and row-rule-width, and trigger full layout in
DiffNeedsFullLayout() when HasColumnRule() or HasRowRule() changes from
false to true on gap-decorations or currentcolor differences.Bug: 583927736
Change-Id: Icfbcf719a582a8d45aee745c42e95ba3ec2754d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8796986
Reviewed-by: Javier Contreras \<javiercon@microsoft.com>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Auto-Submit: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Javier Contreras \<javiercon@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1742307}
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122912
| Assignee | ||
Comment 2•9 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
FAIL: 2
Chrome
FAIL: 2
Safari
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-gaps/agnostic/gap-rule-layout-invalidation-row.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-gaps/agnostic/gap-rule-layout-invalidation.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
Comment 4•8 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b1e2d771e265
https://hg.mozilla.org/mozilla-central/rev/e1bc6fe63d09
Description
•