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

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

Issue 2052563002: Add Settings::useDefaultImageInterpolationQuality and use it in repaint tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaseline some pixel tests containing scaled images Created 4 years, 6 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/backgroundSizeRepaint-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/backgroundSizeRepaint.html b/third_party/WebKit/LayoutTests/fast/repaint/backgroundSizeRepaint-expected.html
similarity index 71%
copy from third_party/WebKit/LayoutTests/fast/repaint/backgroundSizeRepaint.html
copy to third_party/WebKit/LayoutTests/fast/repaint/backgroundSizeRepaint-expected.html
index 01893668432c851e7aa44aa892b59ce630210647..dc0f1717206d7f87b2d8f3ec95bf5e3a93441fe2 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/backgroundSizeRepaint.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/backgroundSizeRepaint-expected.html
@@ -5,16 +5,8 @@
<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="runRepaintTest();">
+<body>
<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=8467">Bugzilla bug 8467</a> Block with percentage background-size doesn't repaint properly when it grows</p>
<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
@@ -27,13 +19,13 @@ The boxes will resize, but the background images will leave artifacts on the sid
<div class="test">
<div style="background-image:url(resources/apple.jpg); -webkit-background-size: auto 100%;">
- <div id="a" style="height: 60px; margin: 10px; background-color:teal; opacity:0.5;"></div>
+ <div id="a" style="height: 40px; margin: 10px; background-color:teal; opacity:0.5;"></div>
</div>
</div>
<br>
<div class="test">
<div style="background-image:url(resources/apple.jpg); -webkit-background-size: auto 100%;">
- <div id="b" style="height: 40px; margin: 10px; background:teal; opacity:0.5;"></div>
+ <div id="b" style="height: 60px; margin: 10px; background:teal; opacity:0.5;"></div>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698