Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: LayoutTests/compositing/squashing/squashed-layer-color-update.html

Issue 204983002: Re-land of issue 200623006: Set geometry dirty bits on composited layer mappings w/squashing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed cras. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/compositing/squashing/squashed-layer-color-update-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/squashing/squashed-layer-color-update.html
diff --git a/LayoutTests/compositing/squashing/squashed-layer-color-update.html b/LayoutTests/compositing/squashing/squashed-layer-color-update.html
new file mode 100644
index 0000000000000000000000000000000000000000..60bc3d6fa45b385c8edd27b178afa63ca82a7ab2
--- /dev/null
+++ b/LayoutTests/compositing/squashing/squashed-layer-color-update.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ .squashed {
+ height: 40px;
+ width: 40px;
+ background-color: lightgreen;
+ position: absolute;
+ top: 90px;
+ }
+ .composited {
+ position: absolute;
+ margin-top: 5px;
+ height: 100px;
+ width: 100px;
+ background-color: lightblue;
+ -webkit-transform: translateZ(1px);
+ }
+ </style>
+ <script>
+ onload = function() {
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ internals.settings.setLayerSquashingEnabled(true);
+ }
+
+ var target = document.getElementById('target3');
+ requestAnimationFrame(function() {
+ target.style.backgroundColor = 'green';
+ getComputedStyle(target).backgroundColor;
+ setTimeout(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ });
+ }
+ </script>
+</head>
+<body>
+ <div id="target2" class="second composited">
+ </div>
+ <div id="target3" class="squashed"></div>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/compositing/squashing/squashed-layer-color-update-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698