Title: [96176] trunk/LayoutTests
Revision
96176
Author
[email protected]
Date
2011-09-27 18:12:10 -0700 (Tue, 27 Sep 2011)

Log Message

svg/custom/oversized-pattern-scale.svg is useless because the interesting part of the test is off the screen
https://bugs.webkit.org/show_bug.cgi?id=68945

Reviewed by Darin Adler.

Change oversized-pattern-scale so that the interesting part of the pattern is on the screen,
and so that it doesn't draw a scrollbar (making it platform-independent).

Change transformed-pattern-clamp-svg-root so that it doesn't draw a gradient, making it platform-independent.

* svg/custom/oversized-pattern-scale-expected.png:
* svg/custom/oversized-pattern-scale-expected.txt:
* svg/custom/oversized-pattern-scale.svg:
* svg/custom/transformed-pattern-clamp-svg-root-expected.png:
* svg/custom/transformed-pattern-clamp-svg-root-expected.txt:
* svg/custom/transformed-pattern-clamp-svg-root.svg:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (96175 => 96176)


--- trunk/LayoutTests/ChangeLog	2011-09-28 01:09:33 UTC (rev 96175)
+++ trunk/LayoutTests/ChangeLog	2011-09-28 01:12:10 UTC (rev 96176)
@@ -1,3 +1,22 @@
+2011-09-27  Tim Horton  <[email protected]>
+
+        svg/custom/oversized-pattern-scale.svg is useless because the interesting part of the test is off the screen
+        https://bugs.webkit.org/show_bug.cgi?id=68945
+
+        Reviewed by Darin Adler.
+        
+        Change oversized-pattern-scale so that the interesting part of the pattern is on the screen,
+        and so that it doesn't draw a scrollbar (making it platform-independent).
+        
+        Change transformed-pattern-clamp-svg-root so that it doesn't draw a gradient, making it platform-independent.
+
+        * svg/custom/oversized-pattern-scale-expected.png:
+        * svg/custom/oversized-pattern-scale-expected.txt:
+        * svg/custom/oversized-pattern-scale.svg:
+        * svg/custom/transformed-pattern-clamp-svg-root-expected.png:
+        * svg/custom/transformed-pattern-clamp-svg-root-expected.txt:
+        * svg/custom/transformed-pattern-clamp-svg-root.svg:
+
 2011-09-27  Tony Chang  <[email protected]>
 
         http/tests/navigation/anchor-basic.html is flaky on Snow Leopard Release Bot

Modified: trunk/LayoutTests/svg/custom/oversized-pattern-scale-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/svg/custom/oversized-pattern-scale-expected.txt (96175 => 96176)


--- trunk/LayoutTests/svg/custom/oversized-pattern-scale-expected.txt	2011-09-28 01:09:33 UTC (rev 96175)
+++ trunk/LayoutTests/svg/custom/oversized-pattern-scale-expected.txt	2011-09-28 01:12:10 UTC (rev 96176)
@@ -1,8 +1,8 @@
-layer at (0,0) size 8192x585
-  RenderView at (0,0) size 800x585
-layer at (0,0) size 8192x585
-  RenderSVGRoot {svg} at (0,0) size 8192x100
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 512x600
+  RenderSVGRoot {svg} at (0,0) size 512x100
     RenderSVGHiddenContainer {defs} at (0,0) size 0x0
       RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
-        RenderSVGPath {rect} at (0,0) size 4096x585 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=4096.00] [height=8192.00]
-    RenderSVGPath {rect} at (0,0) size 8192x100 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=8192.00] [height=100.00]
+        RenderSVGPath {rect} at (0,0) size 256x600 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=256.00] [height=8192.00]
+    RenderSVGPath {rect} at (0,0) size 512x100 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=512.00] [height=100.00]

Modified: trunk/LayoutTests/svg/custom/oversized-pattern-scale.svg (96175 => 96176)


--- trunk/LayoutTests/svg/custom/oversized-pattern-scale.svg	2011-09-28 01:09:33 UTC (rev 96175)
+++ trunk/LayoutTests/svg/custom/oversized-pattern-scale.svg	2011-09-28 01:12:10 UTC (rev 96176)
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg" width="8192">
-<title>The black square should be 4096 pixels wide.</title>
+<svg xmlns="http://www.w3.org/2000/svg" width="512">
+<title>The black square should be 256 pixels wide.</title>
 <defs>
 <pattern id="pattern" width="8192" height="8192" patternUnits="userSpaceOnUse">
-<rect x="0" y="0" width="4096" height="8192" fill="black" style="stroke:none" />
+<rect x="0" y="0" width="256" height="8192" fill="black" style="stroke:none" />
 </pattern>
 </defs>
-<rect width="8192" height="100" x="0" y="0" fill="url(#pattern)" />
+<rect width="512" height="100" x="0" y="0" fill="url(#pattern)" />
 </svg>
 

Modified: trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root-expected.txt (96175 => 96176)


--- trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root-expected.txt	2011-09-28 01:09:33 UTC (rev 96175)
+++ trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root-expected.txt	2011-09-28 01:12:10 UTC (rev 96176)
@@ -5,7 +5,9 @@
     RenderSVGHiddenContainer {defs} at (0,0) size 0x0
       RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(0,1)]
         RenderSVGGradientStop {stop} [offset=0.00] [color=#FFFFFF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#000000]
+        RenderSVGGradientStop {stop} [offset=0.50] [color=#FFFFFF]
+        RenderSVGGradientStop {stop} [offset=0.50] [color=#008000]
+        RenderSVGGradientStop {stop} [offset=1.00] [color=#008000]
       RenderSVGResourcePattern {pattern} [id="shot"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
         RenderSVGPath {rect} at (0,0) size 200x200 [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [x=0.00] [y=0.00] [width=400.00] [height=400.00]
-    RenderSVGPath {rect} at (0,0) size 200x200 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,-100.00)}] [fill={[type=PATTERN] [id="shot"]}] [x=0.00] [y=100.00] [width=200.00] [height=200.00]
+    RenderSVGPath {rect} at (0,0) size 200x200 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,-100.00)}] [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="shot"]}] [x=0.00] [y=100.00] [width=200.00] [height=200.00]

Modified: trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root.svg (96175 => 96176)


--- trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root.svg	2011-09-28 01:09:33 UTC (rev 96175)
+++ trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root.svg	2011-09-28 01:12:10 UTC (rev 96176)
@@ -1,13 +1,15 @@
 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="200" width="200">
-<title>The rectangle should be filled with a single smooth gradient.</title>
+<title>The rectangle should be split; white on the top, green on the bottom.</title>
 <defs>
   <linearGradient id="gradient" x2="0%" y2="100%">
     <stop offset="0" stop-color="white"/>
-    <stop offset="1" stop-color="black"/>
+    <stop offset="0.5" stop-color="white"/>
+    <stop offset="0.5" stop-color="green"/>
+    <stop offset="1" stop-color="green"/>
   </linearGradient>
   <pattern id="shot" patternUnits="userSpaceOnUse" width="400" height="400">
     <rect height="400" width="400" fill="url(#gradient)"/>
   </pattern>
 </defs>
-<rect transform="translate(0,-100)" x="0" y="100" width="200" height="200" fill="url(#shot)"/>
+<rect transform="translate(0,-100)" x="0" y="100" width="200" height="200" fill="url(#shot)" stroke="black"/>
 </svg>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to