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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-7235.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-7235.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-7235.html b/third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-7235.html
new file mode 100644
index 0000000000000000000000000000000000000000..20d02beec732527c3e6e2e680bb78da6c2ae09ca
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/bugzilla-7235.html
@@ -0,0 +1,44 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http:/html4/strict.dtd">
+<html lang="en">
+<head>
+ <style type="text/css">
+ #p {
+ position: relative;
+ left: -100px;
+ margin-left: 100px;
+ }
+ #t {
+ display: none;
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ }
+ </style>
+ <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script type="text/javascript">
+ function repaintTest()
+ {
+ document.getElementById('t').style.display='block';
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=7235">Bugzilla bug 7235</a> Pure CSS Tooltips method renders wrong and creates artifacts</p>
+
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+The square should change to solid green.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+The square will remain red and will only change to green when the window is resized, scrolled or otherwise repainted.
+</p>
+
+<p>
+</p>
+<span id="p">&nbsp;<div id="t"></div></span>
+<div style="width: 100px; height: 100px; background: red;"></div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698