gecko-dev/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-animated-ref.html
Chris Harrelson 9aef1ec6d1 Bug 1632395 [wpt PR 23196] - Re-land: "Do main-thread layer update even if hidden_by_backface_visibility"", a=testonly
Automatic update from web-platform-tests
Re-land: "Do main-thread layer update even if hidden_by_backface_visibility""

This reverts commit 2b5c4137bacc50e5f3a925081b648b6aea43e9c7.

The fix is to wait one more frame. This makes the test pass reliably
on debug builds.

Bug: 977658

Change-Id: Ie8a70e6043e92267f99022cdc78b7ca687370cec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2161454
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761978}

--

wpt-commits: 8fbfbcc819b2160031a34df32dbc2c6366659e3f
wpt-pr: 23196
2020-04-28 11:40:50 +00:00

36 lines
768 B
HTML

<!doctype html>
<html>
<link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#propdef-backface-visibility">
<style>
#flip {
height: 100px;
width: 100px;
transform: rotateY(180deg);
transform-style: preserve-3d;
}
#back {
background: lightblue;
transform: rotateY(180deg);
position: absolute;
top: 0;
left: 0;
width: 200px;
height: 200px;
backface-visibility: hidden;
}
#posabs {
position: absolute;
bottom: 0;
right: 0;
background: yellow;
}
</style>
<div id="flip">
<div id="back">
<i id="posabs">Text</i>
</div>
</div>
</html>