fune/testing/web-platform/tests/css/css-view-transitions/element-is-grouping-during-animation-ref.html
Vladimir Levin 8197a03905 Bug 1824404 [wpt PR 39185] - VT: Make transitioning elements be "grouping", a=testonly
Automatic update from web-platform-tests
VT: Make transitioning elements be "grouping"

In VT we resolved that the elements participating in a transition
should flatten 3d transforms (behave like having a grouping property).

We're storing whether the element is participating in the transition
on the computed style (except for LayoutView), so this patch just adds
a check for that condition.

Change-Id: I5e54a53ed517fc6b16ab9076f314a046f5b8d40a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4366938
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1124177}

--

wpt-commits: 16914b8918f293e9a1d8dac515da70e862099c34
wpt-pr: 39185
2023-04-14 11:14:51 +00:00

23 lines
435 B
HTML

<!DOCTYPE html>
<html>
<title>View transitions: element remains grouping during transition</title>
<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
.parent {
top: 0;
width: 100px;
height: 100px;
position: absolute;
background: green;
}
body {
perspective: 1000px;
height: 500px;
background: pink
}
</style>
<div class=parent></div>