Closed Bug 1886315 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 45209 - [css-anchor-position] Update position-anchor in AnchorEvaluator

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

[css-anchor-position] Update position-anchor in AnchorEvaluator

The AnchorEvaluator initially gets the position-anchor from the previous
style resolution set, but never modified it, which meant the anchor
functions would never pick up any position-anchor changes from
@position-try rules.

Make position-anchor a high priority property and update the
AnchorEvaluator with the position-anchor name before resolving any
anchor functions.

Bug: 329584105
Change-Id: I81829b2c46cf1020c06f99987aa8e7cfed6ec05a
Reviewed-on: https://chromium-review.googlesource.com/5380334
WPT-Export-Revision: 7756f6d24520b4dde46032cdd00a66e09f9621d6

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 9 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc11d4798e45 [wpt PR 45209] - [css-anchor-position] Update position-anchor in AnchorEvaluator, a=testonly https://hg.mozilla.org/integration/autoland/rev/caf2df287dfd [wpt PR 45209] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.