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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/border-radius-repaint-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/fast/repaint/border-radius-repaint-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/border-radius-repaint.html b/third_party/WebKit/LayoutTests/fast/repaint/border-radius-repaint-expected.html
similarity index 63%
copy from third_party/WebKit/LayoutTests/fast/repaint/border-radius-repaint.html
copy to third_party/WebKit/LayoutTests/fast/repaint/border-radius-repaint-expected.html
index 0baa3862f0dfa5643378de0e38e6ba7501fb3a79..c6a3cf1b86fef50892a7e2e96e11d33acb6d750d 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/border-radius-repaint.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/border-radius-repaint-expected.html
@@ -5,29 +5,21 @@
<style type="text/css">
div.test { vertical-align: top; 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="runRepaintTest();">
+<body>
<p>
Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=10699">http://bugs.webkit.org/show_bug.cgi?id=10699</a>
div with border-radius does not redraw properly if element inside div is resized</i>.
</p>
<div class="test">
<div style="background: teal; padding: 0; border: solid red 4px; -webkit-border-radius: 12px;">
- <div id="a" style="height: 60px; margin: 10px; background:silver;"></div>
+ <div id="a" style="height: 40px; margin: 10px; background:silver;"></div>
</div>
</div>
<br>
<div class="test">
<div style="background: teal; padding: 0; border: solid red 4px; -webkit-border-radius: 12px;">
- <div id="b" style="height: 40px; margin: 10px; background:silver;"></div>
+ <div id="b" style="height: 60px; margin: 10px; background:silver;"></div>
</div>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698