Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / custom / relative-sized-content-with-resources.xhtml
index b4fe496..e373a3b 100644 (file)
@@ -1,11 +1,11 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<script src="../../fast/repaint/resources/repaint.js"></script>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
 </head>
-<body onload="runRepaintTest()">
+<body onload="runRepaintAndPixelTest()">
     <p>The svg area contained in the div element (red box), should fill out the whole area with a circle, which contains a radial gradient in its center</p>
     <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid red;">
-        <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+        <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%">
             <defs>
                 <radialGradient id="grad" cx="50%" cy="50%" r="40%" gradientUnits="userSpaceOnUse">
                     <stop offset="0" stop-color="black" />