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

Unified Diff: third_party/WebKit/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml

Issue 1972273002: Let repaint tests test pixels by default (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/svg/as-image/svg-image-change-content-size.xhtml
diff --git a/third_party/WebKit/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml b/third_party/WebKit/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml
index 5750f015355e621dddfa29665f4305196b455de2..7afcc904ddc01343c56df921326b650302289741 100644
--- a/third_party/WebKit/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml
+++ b/third_party/WebKit/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
+<script src="../../fast/repaint/resources/repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest() {
document.getElementById("contentBox").style.setProperty("width", "600px");
@@ -16,7 +16,7 @@ function repaintTest() {
}
</style>
</head>
-<body onload="runRepaintAndPixelTest()">
+<body onload="runRepaintTest()">
<p>The svg image contained in the div element (red box) should not change its appearance when width is resized to be larger</p>
<div id="contentBox">
<img src="../as-background-image/resources/butterfly.svg"/>

Powered by Google App Engine
This is Rietveld 408576698