Title: [87829] trunk/LayoutTests
Revision
87829
Author
[email protected]
Date
2011-06-01 11:36:13 -0700 (Wed, 01 Jun 2011)

Log Message

2011-06-01  Nikolas Zimmermann  <[email protected]>

        Reviewed by Eric Seidel.

        Permanent red background when SVG is used as a background image (DEBUG ONLY)
        https://bugs.webkit.org/show_bug.cgi?id=16518

        The problem seems gone, I can't reproduce it anymore, add Beths test to svg/as-image.

        * platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.png: Added.
        * platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.txt: Added.
        * svg/as-image/resources/svg-as-background-with-relative-size.svg: Added.
        * svg/as-image/svg-as-background-with-relative-size.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (87828 => 87829)


--- trunk/LayoutTests/ChangeLog	2011-06-01 18:16:14 UTC (rev 87828)
+++ trunk/LayoutTests/ChangeLog	2011-06-01 18:36:13 UTC (rev 87829)
@@ -1,3 +1,17 @@
+2011-06-01  Nikolas Zimmermann  <[email protected]>
+
+        Reviewed by Eric Seidel.
+
+        Permanent red background when SVG is used as a background image (DEBUG ONLY)
+        https://bugs.webkit.org/show_bug.cgi?id=16518
+
+        The problem seems gone, I can't reproduce it anymore, add Beths test to svg/as-image.
+
+        * platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.png: Added.
+        * platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.txt: Added.
+        * svg/as-image/resources/svg-as-background-with-relative-size.svg: Added.
+        * svg/as-image/svg-as-background-with-relative-size.html: Added.
+
 2011-05-31  Oliver Hunt  <[email protected]>
 
         Reviewed by Geoffrey Garen.

Added: trunk/LayoutTests/platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.png


(Binary files differ)
Property changes on: trunk/LayoutTests/platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.png ___________________________________________________________________

Added: svn:mime-type

Added: trunk/LayoutTests/platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.txt (0 => 87829)


--- trunk/LayoutTests/platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.txt	2011-06-01 18:36:13 UTC (rev 87829)
@@ -0,0 +1,8 @@
+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
+      RenderBlock {DIV} at (0,0) size 500x500 [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 4x18
+          text run at (0,0) width 4: " "

Added: trunk/LayoutTests/svg/as-image/resources/svg-as-background-with-relative-size.svg (0 => 87829)


--- trunk/LayoutTests/svg/as-image/resources/svg-as-background-with-relative-size.svg	                        (rev 0)
+++ trunk/LayoutTests/svg/as-image/resources/svg-as-background-with-relative-size.svg	2011-06-01 18:36:13 UTC (rev 87829)
@@ -0,0 +1,17 @@
+<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
+<radialGradient id="gradient1" cx="0" cy="80" r="280" fx="150" fy="80" gradientUnits="userSpaceOnUse">
+    <stop offset=".00" style="stop-color:#441155"/>
+    <stop offset=".13" style="stop-color:#442266"/>
+    <stop offset=".15" style="stop-color:#5599bb"/>
+    <stop offset="0.25" style="stop-color:#ffffff"/>
+    <stop offset="0.7" style="stop-color:#ffddcc"/>
+    <stop offset="1" style="stop-color:#ffaaaa"/>
+</radialGradient>
+
+<g style="fill:url(#gradient1)" stroke-width="2" stroke="salmon" transform="translate(100,20) scale(0.4)">
+    <ellipse transform="translate(100 200) rotate(20)" rx="250" ry="150"/>
+    <ellipse transform="translate(600 200) rotate(-30)" rx="250" ry="150"/>
+    <ellipse transform="translate(100 500) rotate(-30)" rx="250" ry="150"/>
+    <ellipse transform="translate(600 500) rotate(10)" rx="250" ry="150"/>
+</g>
+</svg>

Added: trunk/LayoutTests/svg/as-image/svg-as-background-with-relative-size.html (0 => 87829)


--- trunk/LayoutTests/svg/as-image/svg-as-background-with-relative-size.html	                        (rev 0)
+++ trunk/LayoutTests/svg/as-image/svg-as-background-with-relative-size.html	2011-06-01 18:36:13 UTC (rev 87829)
@@ -0,0 +1,17 @@
+<html>
+<head>
+<style>
+div {
+  background: green;
+  background-repeat: no-repeat;
+  background-image: url(resources/svg-as-background-with-relative-size.svg);
+  height: 500px;
+  width: 500px;
+}
+</style>
+</head>
+<!-- The background shouldn't be red in a debug build -->
+<body style='margin: 0px'>
+<div>&nbsp;</div>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to