[Webkit-unassigned] [Bug 12187] WebKit does not allow dynamic creation of SVG elements in an HTML doc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 31 14:44:22 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=12187





------- Comment #7 from macdome at opendarwin.org  2007-05-31 14:44 PDT -------
Actually I was wrong.  This has something to do with gradientUnits being set
incorrectly.  Note the difference between the two dump render tree dumps:  diff
xhtml-results html-results:

--- test1-expected.txt  2007-05-31 14:39:47.000000000 -0700
+++ test2-expected.txt  2007-05-31 14:39:48.000000000 -0700
@@ -1,13 +1,13 @@
-KRenderingPaintServer {id="lgrad" [type=LINEAR-GRADIENT]
[stops=[(0.00,#FF0000), (1.00,#FFFF00)]] [bounding box mode=0] [start=(0,0)]
[end=(300,0)]}
+KRenderingPaintServer {id="lgrad" [type=LINEAR-GRADIENT]
[stops=[(0.00,#FF0000), (1.00,#FFFF00)]] [start=(0,0)] [end=(300,0)]}
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x316
-  RenderBlock {html} at (0,0) size 800x316
-    RenderBody {body} at (8,8) size 784x300
-      RenderBlock {div} at (0,0) size 600x300
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 600x300
         RenderSVGContainer {svg} at (18,18) size 300x200
           RenderSVGHiddenContainer {defs} at (0,0) size 0x0
             RenderSVGHiddenContainer {linearGradient} at (0,0) size 0x0
               RenderSVGGradientStop {stop} at (0,0) size 0x0
               RenderSVGGradientStop {stop} at (0,0) size 0x0
-          RenderPath {rect} at (18,18) size 300x200
[fill={[type=LINEAR-GRADIENT] [stops=[(0.00,#FF0000), (1.00,#FFFF00)]]
[bounding box mode=0] [start=(0,0)] [end=(300,0)]}]
[data="M10.00,10.00L310.00,10.00L310.00,210.00L10.00,210.00"]
+          RenderPath {rect} at (18,18) size 300x200
[fill={[type=LINEAR-GRADIENT] [stops=[(0.00,#FF0000), (1.00,#FFFF00)]]
[start=(0,0)] [end=(300,0)]}]
[data="M10.00,10.00L310.00,10.00L310.00,210.00L10.00,210.00"]


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list