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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/transform-absolute-child.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-absolute-child.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/transform-absolute-child.html b/third_party/WebKit/LayoutTests/paint/invalidation/transform-absolute-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..3988f91247c94eaa0a6a58da5debb2d4e3bcd545
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/transform-absolute-child.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http:/html4/loose.dtd">
+<html lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Transform with Abs. Pos child</title>
+ <style type="text/css" media="screen">
+ #box {
+ position: relative;
+ margin: 50px;
+ width: 200px;
+ height: 200px;
+ border: 2px solid black;
+ transform: rotate(0deg);
+ }
+ #box.rotated {
+ transform: rotate(40deg);
+ }
+ #child {
+ position: absolute;
+ width: 400px;
+ height: 50px;
+ top: 75px;
+ left: 75px;
+ background-color: gray;
+ }
+ </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()">
+<div id="box">
+ <div id="child">
+ </div>
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698