Closed Bug 1889538 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 45532 - [css-anchor-position] Remove old broken getComputedStyle code

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 45532 into mozilla-central (this bug is closed when the sync is complete).

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

Rune Lillesveen <futhark@chromium.org> wrote:

[css-anchor-position] Remove old broken getComputedStyle code

getComputedStyle should not rely on box dimensions when using
position-try. This was leftovers from back when the position fallback
was applied at used value time.

Fixes CHECK failure for getComputedStyle on inset properties.

Bug: 40286059
Change-Id: I8e73f28f8fc468a80ba968a0d9fe7b2d7465341e
Reviewed-on: https://chromium-review.googlesource.com/5419444
WPT-Export-Revision: c3e2152ea86d7e6e1dda3d2cd14870e3d292d90a

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS : 1

Chrome

CRASH: 1

Safari

PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ba7ae3704359 [wpt PR 45532] - [css-anchor-position] Remove old broken getComputedStyle code, 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.