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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/repaint-resized-overflow.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/repaint-resized-overflow.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/repaint-resized-overflow.html b/third_party/WebKit/LayoutTests/paint/invalidation/repaint-resized-overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..195d5a47ad5879ec1bf30c087e5cf9be067da3d1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/repaint-resized-overflow.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http:/html4/strict.dtd">
+<html lang="en">
+<head>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+ function repaintTest()
+ {
+ document.getElementById("t").style.height='100px';
+ }
+</script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6770">Bugzilla bug 6770</a> REGRESSION: Incomplete repaint when block with clipping grows</p>
+
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+There should be a white square with a blue border below, and no line running through
+the middle of the square.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+The white square will have a blue border and a blue horizontal line running through its middle.
+</p>
+
+<div style="overflow: hidden;">
+ <div id="s" style="border: 4px solid blue; width: 100px;">
+ <div id="t" style="width: 10px; height: 48px; margin-left: 120px;"></div>
+ </div>
+</div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698