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

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

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 9 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: LayoutTests/svg/as-image/svg-image-change-content-size.xhtml
diff --git a/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml b/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml
index 7afcc904ddc01343c56df921326b650302289741..5750f015355e621dddfa29665f4305196b455de2 100644
--- a/LayoutTests/svg/as-image/svg-image-change-content-size.xhtml
+++ b/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/repaint.js" type="text/javascript"></script>
+<script src="../../fast/repaint/resources/text-based-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="runRepaintTest()">
+<body onload="runRepaintAndPixelTest()">
<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