Index: trunk/LayoutTests/compositing/squashing/squashed-layer-color-update.html |
=================================================================== |
--- trunk/LayoutTests/compositing/squashing/squashed-layer-color-update.html (revision 169401) |
+++ trunk/LayoutTests/compositing/squashing/squashed-layer-color-update.html (working copy) |
@@ -1,45 +0,0 @@ |
-<!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> |