[wpt-sync] Sync PR 58453 - Fix retrieval of VT pseudo properties outside active transition
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
69.40 KB,
text/plain
|
Details |
Sync web-platform-tests PR 58453 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58453
Details from upstream follow.
Kevin Ellis <kevers@google.com> wrote:
Fix retrieval of VT pseudo properties outside active transition
Force loading of default styles for view-transition pseudos on
demand.Remaining step is resolving inherit correctly along the chain
of nested view-transition pseudos. For example, if requesting
getComputedStyle(element, "::view-transition-old(foo)") we need
to first construct the style for getComputedStyle(element,
"::view-transition-image-pair(foo)"), which in turn depends on
getComputedStyle(element, "::view-transition-group(foo)"). With
this patch, we incorrectly inherit from the scoped element, but
we compute non-inherited properties correctly.Bug: 487213151
Change-Id: I02595f033e8331937240acc93ba19f1bf5ea6485
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7656825
Commit-Queue: Kevin Ellis \<kevers@chromium.org>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1599096}
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Comment 2•8 months ago
|
||
Description
•