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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-6278.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/bugzilla-6278.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-6278.html b/third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-6278.html
new file mode 100644
index 0000000000000000000000000000000000000000..1f0068fb6f72cba80ccd350dee71f3a7a495a76f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-6278.html
@@ -0,0 +1,37 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http:/html4/strict.dtd">
+<html lang="en">
+<head>
+ <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script type="text/javascript">
+ function repaintTest()
+ {
+ document.getElementById('target').style.width='50px';
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6278">Bugzilla bug 6278</a> REGRESSION: Incomplete repaint when table cell width changes during layout</p>
+
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+The purple and green rects will resize, and there will remain separated by a blue horizontal line.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+The purple and green rects will resize, but the blue separator will disappear.
+</p>
+<table style="width: 300px;">
+<tr>
+ <td id="col1" style="background: blue; padding:0;">
+ <div style="background: #eeeeff;">
+ Curabitur pretium, quam quis semper malesuada, est libero feugiat libero, vel fringilla orci nibh sed neque. Quisque eu nulla non nisi molestie accumsan. Etiam tellus urna, laoreet ac, laoreet non, suscipit sed, sapien. Phasellus vehicula, sem at posuere vehicula, augue nibh molestie nisl, nec ullamcorper lacus ante vulputate pede.
+ </div>
+ <div style="background: #eeffee; margin-top: 5px; height: 50px;">
+ </div>
+ </td>
+ <td id="target"></td>
+</tr>
+</table>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698