Chromium Code Reviews| Index: LayoutTests/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible.html |
| diff --git a/LayoutTests/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible.html b/LayoutTests/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d0fd91432bfcaaa05cc86d63599969d35c04f0aa |
| --- /dev/null |
| +++ b/LayoutTests/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible.html |
| @@ -0,0 +1,24 @@ |
| +<html> |
|
esprehn
2014/08/11 20:51:56
no doctype :(
|
| +<head> |
| + <script src="../../resources/run-after-display.js"></script> |
| + <script src="resources/text-based-repaint.js" type="text/javascript"></script> |
| + <script type="text/javascript"> |
| + window.onload = function() { |
| + runRepaintTest(); |
| + }; |
| + |
| + function repaintTest() { |
| + document.getElementById('target').style.visibility = 'visible'; |
| + } |
| + </script> |
| +</head> |
| +<body> |
| + <div id="target" |
| + style="will-change: transform; |
| + visibility:hidden; |
| + position: absolute; |
| + top: 200px; left: 200px; |
| + width: 200px; height: 200px; |
| + background-color: redl "></div> |
| +</body> |
| +</html> |