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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/transform-relative-position.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/transform-relative-position.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/transform-relative-position.html b/third_party/WebKit/LayoutTests/paint/invalidation/transform-relative-position.html
new file mode 100644
index 0000000000000000000000000000000000000000..95f17b3aefa543c9ca3b06fc5ca16a3c430b89c1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/transform-relative-position.html
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http:/html4/strict.dtd">
+<html>
+<head>
+ <title>Relative Position Transform Redraw</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <style type="text/css">
+ #box {
+ position:relative;
+ top: 100px;
+ left: 100px;
+ height: 200px;
+ width: 200px;
+ background-color: #CCC;
+ border: 1px solid black;
+ transform: rotate(0deg);
+ }
+
+ #box.rotated {
+ transform: rotate(45deg);
+ }
+ </style>
+ <script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
+ <script type="text/javascript" charset="utf-8">
+ function repaintTest()
+ {
+ document.getElementById('box').className = 'rotated';
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest()">
+ <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=17840">https://bugs.webkit.org/show_bug.cgi?id=17840</a>. The rotated box should be correctly redrawn.</p>
+ <div id="box">
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698