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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/outline-shrinking.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/outline-shrinking.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/outline-shrinking.html b/third_party/WebKit/LayoutTests/paint/invalidation/outline-shrinking.html
new file mode 100644
index 0000000000000000000000000000000000000000..62a4b24aa81fa47803926037898551e9d075afdf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/outline-shrinking.html
@@ -0,0 +1,25 @@
+<!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()
+ {
+ var target = document.getElementById('t');
+ target.style.outline = 'none';
+ target.style.fontSize = '20px'; // make it a layout change rather than a repaint
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+ <p>
+ This is a test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9388">http://bugzilla.opendarwin.org/show_bug.cgi?id=9388</a>
+ REGRESSION: outlines don't get erased when removed in some cases</i>.
+ </p>
+ <p>
+ There should be a green square and no trace of red.
+ </p>
+ <hr>
+ <div id="t" style="background: green; font-size: 10px; outline: red dashed 4px; width: 100px; height: 100px;"></div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698