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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/resize-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/compositing/resize-repaint.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/resize-repaint.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/resize-repaint.html
new file mode 100644
index 0000000000000000000000000000000000000000..12958ca6f4a899a916d4ddbfd85a12d0b102e3aa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/resize-repaint.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ #resizing {
+ width: 400px;
+ border: 1px solid black;
+ transform: translateZ(0);
+ }
+
+ #resizing > div {
+ height: 50px;
+ margin: 1px;
+ background-color: silver;
+ }
+ </style>
+ <script src="../resources/text-based-repaint.js"></script>
+ <script>
+ function repaintTest()
+ {
+ var resizingDiv = document.getElementById('resizing');
+
+ for (var i = 0; i < 2; ++i) {
+ var newDiv = document.createElement('div');
+ resizingDiv.appendChild(newDiv);
+ }
+ }
+
+ window.onload = runRepaintAndPixelTest;
+ </script>
+</head>
+<body>
+
+<div id="resizing">
+ <div></div>
+ <div></div>
+</div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698