Closed Bug 1790805 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35895 - Don't assume that StyleInitialData exists outside the flat-tree

Categories

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

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

Don't assume that StyleInitialData exists outside the flat-tree

We currently have a bug where EnsureComputedStyle isn't able to
understand that we need to recalculate the style of an element
outside the flat tree with a style-less host. This CL does not fix
that bug, but instead just disables explicit initial values for
registered custom properties outside the flat tree.

Fixed: 1356699
Change-Id: Iae08fb9f2883d3c4ad402c6269cc9472d8e9a982
Reviewed-on: https://chromium-review.googlesource.com/3894419
WPT-Export-Revision: ab44868e45cea8d9515ae6c5da5eb145837490d0

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

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/ba25f6cd1c28
[wpt PR 35895] - Don't assume that StyleInitialData exists outside the flat-tree, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.