Title: [100778] trunk/LayoutTests
- Revision
- 100778
- Author
- [email protected]
- Date
- 2011-11-18 08:03:00 -0800 (Fri, 18 Nov 2011)
Log Message
Add test for strange scrollbars with non-integer scaled SVG image
https://bugs.webkit.org/show_bug.cgi?id=43018
Patch by Philip Rogers <[email protected]> on 2011-11-18
Reviewed by Nikolas Zimmermann.
* svg/as-image/resources/green-non-integer-size-rect.svg: Added.
* svg/as-image/svg-non-integer-scaled-image-expected.png: Added.
* svg/as-image/svg-non-integer-scaled-image-expected.txt: Added.
* svg/as-image/svg-non-integer-scaled-image.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (100777 => 100778)
--- trunk/LayoutTests/ChangeLog 2011-11-18 15:47:36 UTC (rev 100777)
+++ trunk/LayoutTests/ChangeLog 2011-11-18 16:03:00 UTC (rev 100778)
@@ -1,3 +1,15 @@
+2011-11-18 Philip Rogers <[email protected]>
+
+ Add test for strange scrollbars with non-integer scaled SVG image
+ https://bugs.webkit.org/show_bug.cgi?id=43018
+
+ Reviewed by Nikolas Zimmermann.
+
+ * svg/as-image/resources/green-non-integer-size-rect.svg: Added.
+ * svg/as-image/svg-non-integer-scaled-image-expected.png: Added.
+ * svg/as-image/svg-non-integer-scaled-image-expected.txt: Added.
+ * svg/as-image/svg-non-integer-scaled-image.html: Added.
+
2011-11-18 Steve Block <[email protected]>
Another attempt at rebaselining fast/box-shadow for Chromium Mac 10.5.
Added: trunk/LayoutTests/svg/as-image/resources/green-non-integer-size-rect.svg (0 => 100778)
--- trunk/LayoutTests/svg/as-image/resources/green-non-integer-size-rect.svg (rev 0)
+++ trunk/LayoutTests/svg/as-image/resources/green-non-integer-size-rect.svg 2011-11-18 16:03:00 UTC (rev 100778)
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width='100px' height='100.99px'>
+ <rect fill='green' width='200px' height='200px' />
+</svg>
Added: trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image-expected.png (0 => 100778)
--- trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image-expected.png (rev 0)
+++ trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image-expected.png 2011-11-18 16:03:00 UTC (rev 100778)
@@ -0,0 +1,7 @@
+\x89PNG
+
+
+IHDR X ' )tEXtchecksum 95b7ce171fac4b45e8552972816418ad\xF9\x88\xD2c
+\xB7IDATx\x9C\xED\xD8\xC1 \x80@A\xCF\xC45\xF35
+\x87R\xC1<\x9BY\xC7}\xF0\xD2\\xB3{ \xF0\xE7\xEE #\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 bkfvo \xF8 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4\
+\xA98\xAE\xF4 IEND\xAEB`\x82
\ No newline at end of file
Added: trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image-expected.txt (0 => 100778)
--- trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image-expected.txt (rev 0)
+++ trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image-expected.txt 2011-11-18 16:03:00 UTC (rev 100778)
@@ -0,0 +1,7 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (0,0) size 800x600
+ RenderImage {IMG} at (0,0) size 100x101
+ RenderText {#text} at (0,0) size 0x0
Added: trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image.html (0 => 100778)
--- trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image.html (rev 0)
+++ trunk/LayoutTests/svg/as-image/svg-non-integer-scaled-image.html 2011-11-18 16:03:00 UTC (rev 100778)
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title>svg-non-integer-scaled-image</title>
+ <style>
+ body {margin: 0px;}
+ </style>
+ </head>
+ <body>
+ <!-- The following svg has a width of 100px and a height of 100.99px. It
+ should be rendered without scrollbars as a green rectangle of
+ size 101px * 100px. -->
+ <img src='' />
+ </body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes