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

Unified Diff: LayoutTests/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible.html

Issue 456963002: Delete RenderLayer::setHasVisibleContent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dangling declaration Created 6 years, 4 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/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b2b842dd848d2f73db4dbc6220ed7fe213c59dd3
--- /dev/null
+++ b/LayoutTests/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<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>
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/dont-invalidate-root-layer-when-composited-layer-becomes-visible-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698