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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/outline-inset.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-inset.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/outline-inset.html b/third_party/WebKit/LayoutTests/paint/invalidation/outline-inset.html
new file mode 100644
index 0000000000000000000000000000000000000000..3ccad41b39e001f6643edce4323c25196d60898a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/outline-inset.html
@@ -0,0 +1,30 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http:/html4/strict.dtd">
+<html lang="en">
+<head>
+<style type="text/css">
+ div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10px; }
+</style>
+ <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script type="text/javascript">
+ function repaintTest()
+ {
+ document.getElementById('a').style.height = '40px';
+ document.getElementById('b').style.height = '60px';
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+<div class="test">
+ <div style="background: teal; padding: 0; outline: solid red 4px; outline-offset: -5px;">
+ <div id="a" style="height: 60px; margin: 10px; background:silver;"></div>
+ </div>
+</div>
+<br>
+<div class="test">
+ <div style="background: teal; padding: 0; outline: solid red 4px; outline-offset: -5px;">
+ <div id="b" style="height: 40px; margin: 10px; background:silver;"></div>
+ </div>
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698