forked from mirrors/gecko-dev
Automatic update from web-platform-tests Add a test case for adding a layer into empty composited layer When a html element is added to the empty layer it doesn't update compositing inputs and it failed to update |draws_content_| of |GraphicsLayer| therefore it is skipped for painting since |draw_contents| is remained as false. This is a regression of https://crrev.com/582337 and this problem is not seen with enabling compositing-after-paint and fixing this problem would introduce checking complex condition in common code so this patch adds a test-case only for tracking the bug since compositing-after-paint will be enabled by default soon. Bug: 1208213 Change-Id: I64de5629db24304517b67913b1ba61873a4ae54b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2866707 Commit-Queue: Wanchang Ryu <wanchang.ryu@lge.com> Commit-Queue: Philip Rogers <pdr@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#882782} -- wpt-commits: 5b851a2fc0ef9431452e91cec2c83bbdcc05519f wpt-pr: 28893
20 lines
445 B
HTML
20 lines
445 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://www.w3.org/TR/css-transforms-2/">
|
|
<style>
|
|
.empty-layer {
|
|
transform: rotateY(30deg) rotateX(-30deg);
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
.inserted {
|
|
width: 50px;
|
|
height: 50px;
|
|
background-color: red;
|
|
}
|
|
</style>
|
|
<!--
|
|
Force to create composited layer with empty then inserts a child the layer.
|
|
-->
|
|
<div id="empty-layer" class="empty-layer">
|
|
<div id="inserted" class="inserted"></div>
|
|
</div>
|