Bug #: 5987
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Dec 2005 09:30:29 +0000 (09:30 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Dec 2005 09:30:29 +0000 (09:30 +0000)
Submitted by: eseidel
Reviewed by: darin
        Fixes <applet> in xhtml, as well as <use> in SVG.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5987

        * svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
        * svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
        * svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt:
        * svg/W3C-SVG-1.1/filters-light-01-f-expected.checksum:
        * svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
        * svg/W3C-SVG-1.1/filters-specular-01-f-expected.checksum:
        * svg/W3C-SVG-1.1/render-groups-03-t-expected.checksum:
        * svg/W3C-SVG-1.1/struct-image-02-b-expected.checksum:
        * svg/W3C-SVG-1.1/struct-image-02-b-expected.png:
        * svg/W3C-SVG-1.1/struct-image-02-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-symbol-01-b-expected.checksum:
        * svg/W3C-SVG-1.1/struct-symbol-01-b-expected.png:
        * svg/W3C-SVG-1.1/struct-symbol-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-path-01-b-expected.checksum:
        * svg/W3C-SVG-1.1/text-path-01-b-expected.png:
        * svg/W3C-SVG-1.1/text-path-01-b-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-light-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-specular-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/render-groups-03-t-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/struct-image-02-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/struct-image-02-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/struct-image-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-path-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-path-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-path-01-b-expected.txt

index 629f1f5b3274d7cca5705bc6d9636f7d5e2ba235..62d3c0bef75daa5d742d8bcf679a1ad8d463b8dc 100644 (file)
@@ -1,3 +1,27 @@
+2005-12-08  Eric Seidel  <eseidel@apple.com>
+
+        Reviewed by darin.
+
+        Fixes <applet> in xhtml, as well as <use> in SVG.
+        http://bugzilla.opendarwin.org/show_bug.cgi?id=5987
+
+        * svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
+        * svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
+        * svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt:
+        * svg/W3C-SVG-1.1/filters-light-01-f-expected.checksum:
+        * svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
+        * svg/W3C-SVG-1.1/filters-specular-01-f-expected.checksum:
+        * svg/W3C-SVG-1.1/render-groups-03-t-expected.checksum:
+        * svg/W3C-SVG-1.1/struct-image-02-b-expected.checksum:
+        * svg/W3C-SVG-1.1/struct-image-02-b-expected.png:
+        * svg/W3C-SVG-1.1/struct-image-02-b-expected.txt:
+        * svg/W3C-SVG-1.1/struct-symbol-01-b-expected.checksum:
+        * svg/W3C-SVG-1.1/struct-symbol-01-b-expected.png:
+        * svg/W3C-SVG-1.1/struct-symbol-01-b-expected.txt:
+        * svg/W3C-SVG-1.1/text-path-01-b-expected.checksum:
+        * svg/W3C-SVG-1.1/text-path-01-b-expected.png:
+        * svg/W3C-SVG-1.1/text-path-01-b-expected.txt:
+
 2005-12-07  Mitz Pettel  <opendarwin.org@mitzpettel.com>
 
         Landed by Darin.
index 8a71cb458a7d9db47aea35a2f4ca11ea8e52b3d7..f75a2bc50980304621007fe39b87882e4e5e9a26 100644 (file)
@@ -1 +1 @@
-84046a649700a49db08f7e7472427efa
\ No newline at end of file
+0140fe7e5996757450ad2112b3b67bdf
\ No newline at end of file
index fd25073d9be105d8d26a430a9fbf09abb6efc5de..d06f085a9628f2752d232dac52d245e2bc36a490 100644 (file)
Binary files a/LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png and b/LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png differ
index c517df55a48160cffa109a943beb0f49303bd9f0..d48cd57dd3a19809abb0e15ad613b511489a3212 100644 (file)
@@ -3,12 +3,32 @@ KCanvasResource {id="blurxy" [type=FILTER]  [bounding box=at (-10,-10) size 120x
 layer at (0,0) size 480x360
   RenderCanvas at (0,0) size 480x360
     KCanvasContainer {svg} at (0,0) size 479x359
-      KCanvasContainer {g} at (0,0) size 0x0
-        KCanvasContainer {use} at (0,0) size 0x0
-        KCanvasContainer {g} at (310,15) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(310.00,15.00)}]
-          KCanvasContainer {use} at (310,15) size 0x0 [filter=#blur]
-          KCanvasContainer {use} at (310,15) size 0x0
-        KCanvasContainer {g} at (310,200) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(310.00,200.00)}]
-          KCanvasContainer {use} at (310,200) size 0x0 [filter=#blurxy]
-          KCanvasContainer {use} at (310,200) size 0x0
+      KCanvasContainer {g} at (0,0) size 459x349
+        KCanvasContainer {use} at (0,0) size 135x135
+          KCanvasContainer {g} at (0,0) size 135x135
+            KCanvasContainer {g} at (0,0) size 135x135
+              KCanvasItem {rect} at (0,0) size 90x90 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00L90.00,0.00L90.00,90.00L0.00,90.00"]
+              KCanvasItem {rect} at (45,45) size 90x90 [fill={[type=SOLID] [color=#FFFF00]}] [data="M45.00,45.00L135.00,45.00L135.00,135.00L45.00,135.00"]
+        KCanvasContainer {g} at (297,2) size 162x162 [transform={m=((1.00,0.00)(0.00,1.00)) t=(310.00,15.00)}]
+          KCanvasContainer {use} at (310,15) size 135x135 [filter=#blur]
+            KCanvasContainer {g} at (310,15) size 135x135
+              KCanvasContainer {g} at (310,15) size 135x135
+                KCanvasItem {rect} at (310,15) size 90x90 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00L90.00,0.00L90.00,90.00L0.00,90.00"]
+                KCanvasItem {rect} at (355,60) size 90x90 [fill={[type=SOLID] [color=#FFFF00]}] [data="M45.00,45.00L135.00,45.00L135.00,135.00L45.00,135.00"]
+          KCanvasContainer {use} at (297,2) size 162x162
+            KCanvasContainer {g} at (297,2) size 162x162
+              KCanvasContainer {g} at (297,2) size 162x162
+                KCanvasItem {rect} at (310,15) size 135x135 [stroke={[type=SOLID] [color=#0000FF] [stroke width=0.50]}] [data="M0.00,0.00L135.00,0.00L135.00,135.00L0.00,135.00"]
+                KCanvasItem {rect} at (297,2) size 162x162 [stroke={[type=SOLID] [color=#0000FF] [stroke width=0.50]}] [data="M-13.50,-13.50L148.50,-13.50L148.50,148.50L-13.50,148.50"]
+        KCanvasContainer {g} at (297,187) size 162x162 [transform={m=((1.00,0.00)(0.00,1.00)) t=(310.00,200.00)}]
+          KCanvasContainer {use} at (310,200) size 135x135 [filter=#blurxy]
+            KCanvasContainer {g} at (310,200) size 135x135
+              KCanvasContainer {g} at (310,200) size 135x135
+                KCanvasItem {rect} at (310,200) size 90x90 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00L90.00,0.00L90.00,90.00L0.00,90.00"]
+                KCanvasItem {rect} at (355,245) size 90x90 [fill={[type=SOLID] [color=#FFFF00]}] [data="M45.00,45.00L135.00,45.00L135.00,135.00L45.00,135.00"]
+          KCanvasContainer {use} at (297,187) size 162x162
+            KCanvasContainer {g} at (297,187) size 162x162
+              KCanvasContainer {g} at (297,187) size 162x162
+                KCanvasItem {rect} at (310,200) size 135x135 [stroke={[type=SOLID] [color=#0000FF] [stroke width=0.50]}] [data="M0.00,0.00L135.00,0.00L135.00,135.00L0.00,135.00"]
+                KCanvasItem {rect} at (297,187) size 162x162 [stroke={[type=SOLID] [color=#0000FF] [stroke width=0.50]}] [data="M-13.50,-13.50L148.50,-13.50L148.50,148.50L-13.50,148.50"]
       KCanvasItem {rect} at (0,0) size 479x359 [stroke={[type=SOLID] [color=#000000]}] [data="M1.00,1.00L479.00,1.00L479.00,359.00L1.00,359.00"]
index c94327227d6f3280a45859cdd4d19bc71416ac6b..2417e63ea3fc3abe5a40c0d7b09f0056861c21e4 100644 (file)
@@ -1 +1 @@
-de0c4a69dba3918357a7a98b237e8b05
\ No newline at end of file
+9b755b43f96c408020021d8772e48646
\ No newline at end of file
index a6c016e7577d036a7ecc104d5b9e8bcd3953a7d9..1537286839a336c20eea73d6379b02d1f0576dc0 100644 (file)
@@ -10,10 +10,22 @@ layer at (0,0) size 480x360
           KCanvasContainer {g} at (0,-6) size 0x0
             KCanvasContainer {g} at (0,-6) size 0x0
               KCanvasContainer {use} at (0,-6) size 0x0 [filter=#erode1]
+                KCanvasContainer {g} at (35,19) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(35.00,25.00)}]
+                  KCanvasContainer {g} at (35,19) size 0x0
+                    KCanvasContainer {g} at (35,19) size 0x0
             KCanvasContainer {g} at (255,-6) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(255.00,0.00)}]
               KCanvasContainer {use} at (255,-6) size 0x0 [filter=#erode2]
+                KCanvasContainer {g} at (290,19) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(35.00,25.00)}]
+                  KCanvasContainer {g} at (290,19) size 0x0
+                    KCanvasContainer {g} at (290,19) size 0x0
             KCanvasContainer {g} at (0,134) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,140.00)}]
               KCanvasContainer {use} at (0,134) size 0x0 [filter=#dilate1]
+                KCanvasContainer {g} at (35,159) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(35.00,25.00)}]
+                  KCanvasContainer {g} at (35,159) size 0x0
+                    KCanvasContainer {g} at (35,159) size 0x0
             KCanvasContainer {g} at (255,134) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(255.00,140.00)}]
               KCanvasContainer {use} at (255,134) size 0x0 [filter=#dilate2]
+                KCanvasContainer {g} at (290,159) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(35.00,25.00)}]
+                  KCanvasContainer {g} at (290,159) size 0x0
+                    KCanvasContainer {g} at (290,159) size 0x0
       KCanvasItem {rect} at (0,0) size 479x359 [stroke={[type=SOLID] [color=#000000]}] [data="M1.00,1.00L479.00,1.00L479.00,359.00L1.00,359.00"]
index bfdb92926ed96dd5dcc3a413d38732f07709e881..8fd981eb84f690831f18937362df3e744a81e028 100644 (file)
@@ -1 +1 @@
-6cf8e3269589944c4dbb3e8d0414a8c6
\ No newline at end of file
+f43ea7a904077fc6bae57269a91f1862
\ No newline at end of file
index 3e9c7106a7f123bdb567f2e598cb67f234c776a9..9114cd4176b6842317034b6a71a4180f618914ad 100644 (file)
@@ -1 +1 @@
-0eec2c03181589da0e9ed4d461e133f9
\ No newline at end of file
+dda7f6ca70ed8f3d28db0355afab2ad5
\ No newline at end of file
index a442f500f76ba06f122871b7232b29871bcb0bbf..3223a088c197a187faf3cb15679f4543149f1a1f 100644 (file)
@@ -1 +1 @@
-36f218096eedcb1f4c666bc551128738
\ No newline at end of file
+03c71697f7dc939e6620340e41da41b6
\ No newline at end of file
index 85cb0ceee7634cb0fa4f1761391bb42279e69013..5abf6848574c42648ef8749da7af0191e8f1cc9e 100644 (file)
Binary files a/LayoutTests/svg/W3C-SVG-1.1/struct-image-02-b-expected.png and b/LayoutTests/svg/W3C-SVG-1.1/struct-image-02-b-expected.png differ
index e4befa7cf1f271fb4d90300be5c682c2718c7ac0..71a92228bdd2e4042ffff0da60aef22adea6ba40 100644 (file)
@@ -2,10 +2,14 @@ layer at (0,0) size 480x360
   RenderCanvas at (0,0) size 480x360
     KCanvasContainer {svg} at (0,0) size 480x359
       KCanvasContainer {g} at (0,0) size 480x300
+        KCanvasContainer {g} at (0,0) size 240x150
+          KCanvasContainer {use} at (0,0) size 240x150
+            KCanvasContainer {g} at (0,0) size 240x150
+              KCanvasItem {image} at (0,0) size 240x150 [fill={[type=IMAGE] [bounding box=at (0,0) size 241x150]}] [data="M0.00,0.00L240.00,0.00L240.00,150.00L0.00,150.00"]
         KCanvasContainer {g} at (0,0) size 0x0
           KCanvasContainer {use} at (0,0) size 0x0
-        KCanvasContainer {g} at (0,0) size 0x0
-          KCanvasContainer {use} at (0,0) size 0x0
+            KCanvasContainer {g} at (0,0) size 0x0
+              KCanvasContainer {svg} at (0,0) size 0x0
         KCanvasContainer {svg} at (0,0) size 240x150
           KCanvasContainer {g} at (0,0) size 240x150
             KCanvasItem {rect} at (0,0) size 240x150 [fill={[type=SOLID] [color=#00FFFF]}] [data="M0.00,0.00L240.00,0.00L240.00,150.00L0.00,150.00"]
index 8a71cb458a7d9db47aea35a2f4ca11ea8e52b3d7..9a2fdaf4de5f1dd818e50ae8785a48820342b587 100644 (file)
@@ -1 +1 @@
-84046a649700a49db08f7e7472427efa
\ No newline at end of file
+51812594c6d502acac2dedbd237d8715
\ No newline at end of file
index fd25073d9be105d8d26a430a9fbf09abb6efc5de..c4830578ea8f713412f4642932e4f1b88ec00eef 100644 (file)
Binary files a/LayoutTests/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.png and b/LayoutTests/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.png differ
index 5b268766afd5e8fa523eca207c5ed6f794a9ef5f..0edb0a08a262a435822eb7c2251d47e6d700a44c 100644 (file)
@@ -1,8 +1,17 @@
 layer at (0,0) size 480x360
   RenderCanvas at (0,0) size 480x360
-    KCanvasContainer {svg} at (0,0) size 479x359
-      KCanvasContainer {g} at (0,0) size 0x0
-        KCanvasContainer {g} at (0,0) size 0x0
-          KCanvasContainer {use} at (0,0) size 0x0
-          KCanvasContainer {use} at (0,0) size 0x0
+    KCanvasContainer {svg} at (0,0) size 1240x1150
+      KCanvasContainer {g} at (0,0) size 1240x1150
+        KCanvasContainer {g} at (0,0) size 1240x1150
+          KCanvasContainer {use} at (0,0) size 1000x1000
+            KCanvasContainer {g} at (0,0) size 1000x1000
+              KCanvasContainer {svg} at (45,0) size 150x150
+                KCanvasItem {image} at (45,0) size 150x150 [fill={[type=IMAGE] [bounding box=at (0,0) size 240x160]}] [data="M0.00,0.00L1000.00,0.00L1000.00,1000.00L0.00,1000.00"]
+          KCanvasContainer {use} at (240,150) size 1000x1000
+            KCanvasContainer {g} at (240,150) size 1000x1000 [transform={m=((1.00,0.00)(0.00,1.00)) t=(240.00,150.00)}]
+              KCanvasContainer {svg} at (81,22) size 150x150
+                KCanvasItem {rect} at (81,22) size 75x75 [fill={[type=SOLID] [color=#FFFF00]}] [data="M0.00,0.00L500.00,0.00L500.00,500.00L0.00,500.00"]
+                KCanvasItem {rect} at (156,22) size 75x75 [fill={[type=SOLID] [color=#FF0000]}] [data="M500.00,0.00L1000.00,0.00L1000.00,500.00L500.00,500.00"]
+                KCanvasItem {rect} at (81,97) size 75x75 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,500.00L500.00,500.00L500.00,1000.00L0.00,1000.00"]
+                KCanvasItem {rect} at (156,97) size 75x75 [fill={[type=SOLID] [color=#FFFF00]}] [data="M500.00,500.00L1000.00,500.00L1000.00,1000.00L500.00,1000.00"]
       KCanvasItem {rect} at (0,0) size 479x359 [stroke={[type=SOLID] [color=#000000]}] [data="M1.00,1.00L479.00,1.00L479.00,359.00L1.00,359.00"]
index 58eda8b9af9dee3e2aea34fa2e15b56a16bb56c0..14a45230a1b720ab9c6f72f2eb10ad23e0a83e8f 100644 (file)
@@ -1 +1 @@
-e2a66eef0cea9c26845d1cc0cb50dc28
\ No newline at end of file
+e1701f695ffc3b046f25ef78191bf035
\ No newline at end of file
index cad291ee33216c7aaa0f4a37fc85fb9f20aed576..ca5cf6e5e40611ca62044bab5f45561af518aa90 100644 (file)
Binary files a/LayoutTests/svg/W3C-SVG-1.1/text-path-01-b-expected.png and b/LayoutTests/svg/W3C-SVG-1.1/text-path-01-b-expected.png differ
index c8c25c4a07dc413ae353225f572aaee26399e5fb..70d52eebe44c563d56df3264b6e6a5ebf718d76a 100644 (file)
@@ -1,13 +1,19 @@
 layer at (0,0) size 480x360
   RenderCanvas at (0,0) size 480x360
     KCanvasContainer {svg} at (0,0) size 479x359
-      KCanvasContainer {g} at (16,168) size 362x123
-        KCanvasContainer {g} at (0,0) size 0x0
-          KCanvasContainer {use} at (0,0) size 0x0
-        KCanvasContainer {g} at (16,168) size 275x42
-          KCanvasContainer {use} at (0,0) size 0x0
+      KCanvasContainer {g} at (16,22) size 401x269
+        KCanvasContainer {g} at (198,22) size 219x84
+          KCanvasContainer {use} at (198,22) size 219x84
+            KCanvasContainer {g} at (198,22) size 219x84
+              KCanvasItem {path} at (198,22) size 219x84 [stroke={[type=SOLID] [color=#0000FF]}] [data="M199.00,89.30C206.60,66.60,235.80,13.20,270.00,30.30C286.60,38.60,298.90,59.40,310.00,73.30C321.70,87.90,338.60,99.00,356.00,103.30C387.30,111.10,396.60,90.40,418.00,74.30"]
+        KCanvasContainer {g} at (16,78) size 275x132
+          KCanvasContainer {use} at (33,78) size 219x84
+            KCanvasContainer {g} at (33,78) size 219x84
+              KCanvasItem {path} at (33,78) size 219x84 [stroke={[type=SOLID] [color=#0000FF]}] [data="M33.50,145.80C41.00,123.00,70.30,69.70,104.50,86.80C121.00,95.00,133.00,116.00,144.50,129.80C156.20,144.40,173.00,155.50,190.50,159.80C221.80,167.60,231.00,146.90,252.50,130.80"]
           KCanvasItem {rect} at (16,168) size 275x42 [stroke={[type=SOLID] [color=#000000]}] [data="M17.00,169.00L291.00,169.00L291.00,210.00L17.00,210.00"]
-        KCanvasContainer {g} at (117,249) size 261x42
-          KCanvasContainer {use} at (0,0) size 0x0
+        KCanvasContainer {g} at (113,231) size 300x60
+          KCanvasContainer {use} at (113,231) size 300x4
+            KCanvasContainer {g} at (113,231) size 300x4
+              KCanvasItem {path} at (113,231) size 300x4 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M113.00,233.00L413.00,233.00"]
           KCanvasItem {rect} at (117,249) size 261x42 [stroke={[type=SOLID] [color=#000000]}] [data="M118.00,250.00L378.00,250.00L378.00,291.00L118.00,291.00"]
       KCanvasItem {rect} at (0,0) size 479x359 [stroke={[type=SOLID] [color=#000000]}] [data="M1.00,1.00L479.00,1.00L479.00,359.00L1.00,359.00"]