Closed Bug 1767927 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33943 - [@container] Clear pseudo style cache when query changes

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33943 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33943
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

[@container] Clear pseudo style cache when query changes

When pseudo element styles are cached on the originating element's
ComputedStyle, we need to clear that cache if the container query
evaluations change in case hte pseudo element style depends on container
queries.

Bug: 1322592
Change-Id: I57dfa575c4362bffc50cf523be263eace9c5729a
Reviewed-on: https://chromium-review.googlesource.com/3627356
WPT-Export-Revision: 8c3ad91d0262cece227d7e30ea00da789b3cfffc

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 3 tests and 12 subtests

Status Summary

Firefox

FAIL : 1
ERROR: 2

Chrome

OK : 2
PASS : 14
FAIL : 7

Safari

OK : 2
PASS : 14
FAIL : 7

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22fd2f06c07d
[wpt PR 33943] - [@container] Clear pseudo style cache when query changes, a=testonly
https://hg.mozilla.org/integration/autoland/rev/9f8c2b631b0d
[wpt PR 33943] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.