Changeset 96176 in webkit
- Timestamp:
- Sep 27, 2011 6:12:10 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r96174 r96176 1 2011-09-27 Tim Horton <timothy_horton@apple.com> 2 3 svg/custom/oversized-pattern-scale.svg is useless because the interesting part of the test is off the screen 4 https://bugs.webkit.org/show_bug.cgi?id=68945 5 6 Reviewed by Darin Adler. 7 8 Change oversized-pattern-scale so that the interesting part of the pattern is on the screen, 9 and so that it doesn't draw a scrollbar (making it platform-independent). 10 11 Change transformed-pattern-clamp-svg-root so that it doesn't draw a gradient, making it platform-independent. 12 13 * svg/custom/oversized-pattern-scale-expected.png: 14 * svg/custom/oversized-pattern-scale-expected.txt: 15 * svg/custom/oversized-pattern-scale.svg: 16 * svg/custom/transformed-pattern-clamp-svg-root-expected.png: 17 * svg/custom/transformed-pattern-clamp-svg-root-expected.txt: 18 * svg/custom/transformed-pattern-clamp-svg-root.svg: 19 1 20 2011-09-27 Tony Chang <tony@chromium.org> 2 21 -
trunk/LayoutTests/svg/custom/oversized-pattern-scale-expected.txt
r96155 r96176 1 layer at (0,0) size 8 192x5852 RenderView at (0,0) size 800x 5853 layer at (0,0) size 8192x5854 RenderSVGRoot {svg} at (0,0) size 8192x1001 layer at (0,0) size 800x600 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 512x600 4 RenderSVGRoot {svg} at (0,0) size 512x100 5 5 RenderSVGHiddenContainer {defs} at (0,0) size 0x0 6 6 RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse] 7 RenderSVGPath {rect} at (0,0) size 4096x585 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=4096.00] [height=8192.00]8 RenderSVGPath {rect} at (0,0) size 8192x100 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=8192.00] [height=100.00]7 RenderSVGPath {rect} at (0,0) size 256x600 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=256.00] [height=8192.00] 8 RenderSVGPath {rect} at (0,0) size 512x100 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=512.00] [height=100.00] -
trunk/LayoutTests/svg/custom/oversized-pattern-scale.svg
r96155 r96176 1 1 <?xml version="1.0"?> 2 <svg xmlns="http://www.w3.org/2000/svg" width=" 8192">3 <title>The black square should be 4096 pixels wide.</title>2 <svg xmlns="http://www.w3.org/2000/svg" width="512"> 3 <title>The black square should be 256 pixels wide.</title> 4 4 <defs> 5 5 <pattern id="pattern" width="8192" height="8192" patternUnits="userSpaceOnUse"> 6 <rect x="0" y="0" width=" 4096" height="8192" fill="black" style="stroke:none" />6 <rect x="0" y="0" width="256" height="8192" fill="black" style="stroke:none" /> 7 7 </pattern> 8 8 </defs> 9 <rect width=" 8192" height="100" x="0" y="0" fill="url(#pattern)" />9 <rect width="512" height="100" x="0" y="0" fill="url(#pattern)" /> 10 10 </svg> 11 11 -
trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root-expected.txt
r96155 r96176 6 6 RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(0,1)] 7 7 RenderSVGGradientStop {stop} [offset=0.00] [color=#FFFFFF] 8 RenderSVGGradientStop {stop} [offset=1.00] [color=#000000] 8 RenderSVGGradientStop {stop} [offset=0.50] [color=#FFFFFF] 9 RenderSVGGradientStop {stop} [offset=0.50] [color=#008000] 10 RenderSVGGradientStop {stop} [offset=1.00] [color=#008000] 9 11 RenderSVGResourcePattern {pattern} [id="shot"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse] 10 12 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] 11 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]13 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] -
trunk/LayoutTests/svg/custom/transformed-pattern-clamp-svg-root.svg
r96155 r96176 1 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="200" width="200"> 2 <title>The rectangle should be filled with a single smooth gradient.</title>2 <title>The rectangle should be split; white on the top, green on the bottom.</title> 3 3 <defs> 4 4 <linearGradient id="gradient" x2="0%" y2="100%"> 5 5 <stop offset="0" stop-color="white"/> 6 <stop offset="1" stop-color="black"/> 6 <stop offset="0.5" stop-color="white"/> 7 <stop offset="0.5" stop-color="green"/> 8 <stop offset="1" stop-color="green"/> 7 9 </linearGradient> 8 10 <pattern id="shot" patternUnits="userSpaceOnUse" width="400" height="400"> … … 10 12 </pattern> 11 13 </defs> 12 <rect transform="translate(0,-100)" x="0" y="100" width="200" height="200" fill="url(#shot)" />14 <rect transform="translate(0,-100)" x="0" y="100" width="200" height="200" fill="url(#shot)" stroke="black"/> 13 15 </svg>
Note: See TracChangeset
for help on using the changeset viewer.