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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/create-layer-repaint.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/paint/invalidation/create-layer-repaint.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/create-layer-repaint.html b/third_party/WebKit/LayoutTests/paint/invalidation/create-layer-repaint.html
new file mode 100644
index 0000000000000000000000000000000000000000..43ee1da818cbd6b89177750fe4d578cd9bc4fa0b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/create-layer-repaint.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http:/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <title>CSS Transition test case</title>
+ <style type="text/css" media="screen">
+ .stretchy {
+ background: green;
+ opacity: 0.5;
+ height: 50px;
+ width: 250px;
+ margin: 20px;
+ }
+
+ .stretchy.big {
+ background: red;
+ opacity: 1;
+ width: 500px;
+ }
+ </style>
+ <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script>
+ function repaintTest()
+ {
+ document.getElementById('test').className = 'stretchy';
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest()">
+ <p>If you see red, the test failed</p>
+ <div id="test" class="big stretchy"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698