Closed Bug 2077091 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63160 - Reset cached body color when the last body is removed

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
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

Component: web-platform-tests → Layout
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.