[wpt-sync] Sync PR 63160 - Reset cached body color when the last body is removed
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63160 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63160
Details from upstream follow.
Hyowon Kim <hyowon@igalia.com> wrote:
Reset cached body color when the last body is removed
Clear the body color cached in TextLinkColors when no body remains.
In quirks mode, invalidate the matched properties cache and
recalculate styles so tables use the initial color instead of the
removed body's.Bug: 494341468
Change-Id: Ia249ab6d0551f39ac94613df26ebc7035fee80a0
Reviewed-on: https://chromium-review.googlesource.com/8474572
WPT-Export-Revision: d6445858e04a50b8e6f2f89f56ce370c8a351bd1
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99733
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Details
New Tests That Don't Pass
- /quirks/tables-inherit-color-from-body-quirk-first-body-removed.html [wpt.fyi]
- Removing the first body updates an existing table to the remaining body color:
FAIL(Chrome:FAIL, Safari:FAIL)
- Removing the first body updates an existing table to the remaining body color:
https://hg.mozilla.org/mozilla-central/rev/18f8062c3406
https://hg.mozilla.org/mozilla-central/rev/140c91100e6f
Description
•