Bug #: 5240
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Oct 2005 10:45:06 +0000 (10:45 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Oct 2005 10:45:06 +0000 (10:45 +0000)
Submitted by: Rob Buis  <rwlbuis@xs4all.nl>
Reviewed by: eseidel
        Almost forgot the layout test for the last commit. ;)
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5240

        * svg-tests/custom/use-forward-refs-expected.checksum: Added.
        * svg-tests/custom/use-forward-refs-expected.png: Added.
        * svg-tests/custom/use-forward-refs-expected.txt: Added.
        * svg-tests/custom/use-forward-refs.svg: Added.

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

LayoutTests/svg/custom/use-forward-refs-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/use-forward-refs-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/use-forward-refs-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/use-forward-refs.svg [new file with mode: 0644]
WebCore/ChangeLog-2005-12-19

diff --git a/LayoutTests/svg/custom/use-forward-refs-expected.checksum b/LayoutTests/svg/custom/use-forward-refs-expected.checksum
new file mode 100644 (file)
index 0000000..c2c561a
--- /dev/null
@@ -0,0 +1 @@
+794b5e66712e6796d0d9127ac14d3b31
\ No newline at end of file
diff --git a/LayoutTests/svg/custom/use-forward-refs-expected.png b/LayoutTests/svg/custom/use-forward-refs-expected.png
new file mode 100644 (file)
index 0000000..4a5f72e
Binary files /dev/null and b/LayoutTests/svg/custom/use-forward-refs-expected.png differ
diff --git a/LayoutTests/svg/custom/use-forward-refs-expected.txt b/LayoutTests/svg/custom/use-forward-refs-expected.txt
new file mode 100644 (file)
index 0000000..90c7741
--- /dev/null
@@ -0,0 +1,51 @@
+KCanvasRegistry: empty
+KCanvasContainer at (9,9) size 80x70
+  KCanvasContainer at (9,9) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-39.84,-20.16)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (9,9) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (9,9) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (12,11) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-37.34,-18.59)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (12,11) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (12,11) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (14,12) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-34.84,-17.66)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (14,12) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (14,12) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (17,13) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-32.34,-16.09)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (17,13) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (17,13) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (19,14) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-30.16,-15.16)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (19,14) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (19,14) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (22,16) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-27.34,-13.59)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (22,16) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (22,16) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (24,17) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-25.16,-12.66)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (24,17) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (24,17) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (27,18) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-22.34,-11.41)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (27,18) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (27,18) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (29,19) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-19.84,-10.16)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (29,19) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (29,19) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (32,20) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-17.34,-8.91)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (32,20) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (32,20) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (34,22) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-14.84,-7.66)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (34,22) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (34,22) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (37,23) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-12.66,-6.41)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (37,23) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (37,23) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (39,24) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-9.84,-5.16)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (39,24) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (39,24) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (42,25) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-7.66,-3.91)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (42,25) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (42,25) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (44,27) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-5.16,-2.66)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (44,27) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (44,27) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasContainer at (47,28) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-2.66,-1.41)}] [fill={[type=SOLID] [color=#000000]}]
+    KCanvasContainer at (47,28) size 40x50 [fill={[type=SOLID] [color=#000000]}]
+      KCanvasItem {path} at (47,28) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
+  KCanvasItem {path} at (49,29) size 40x50 [stroke={[type=SOLID] [color=#000000] [stroke width=0.33]}] [fill={[type=SOLID] [color=#4C4C4C]}] [data="M50.00,50.00L50.00,80.00L90.00,60.00L90.00,30.00"]
diff --git a/LayoutTests/svg/custom/use-forward-refs.svg b/LayoutTests/svg/custom/use-forward-refs.svg
new file mode 100644 (file)
index 0000000..68f44b2
--- /dev/null
@@ -0,0 +1,19 @@
+<svg id="svg1291" height="200px" width="200px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <use height="200" transform="translate(-39.84375,-20.15625)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-37.34375,-18.59375)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-34.84375,-17.65625)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-32.34375,-16.09375)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-30.15625,-15.15625)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-27.34375,-13.59375)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-25.15625,-12.65625)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-22.34375,-11.40625)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-19.84375,-10.15625)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-17.34375,-8.906250)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-14.84375,-7.656250)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-12.65625,-6.406250)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-9.843750,-5.156250)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-7.656250,-3.906250)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-5.156250,-2.656250)" xlink:href="#path3874"/>
+    <use height="200" transform="translate(-2.656250,-1.406250)" xlink:href="#path3874"/>
+    <path d="M 50 50 L 50 80 L 90 60 L 90 30 z" id="path3874" style="fill:#4c4c4c;stroke:black;stroke-width:0.25pt"/>
+</svg>
index 554b856405b336fd11641a628e66aa840f06278c..d5677c52a0f21c16af72c7502cc51b74e0e9db48 100644 (file)
@@ -1,3 +1,15 @@
+2005-10-08  Rob Buis  <rwlbuis@xs4all.nl>
+
+        Reviewed by eseidel.
+
+        Almost forgot the layout test for the last commit. ;)
+        http://bugzilla.opendarwin.org/show_bug.cgi?id=5240
+
+        * svg-tests/custom/use-forward-refs-expected.checksum: Added.
+        * svg-tests/custom/use-forward-refs-expected.png: Added.
+        * svg-tests/custom/use-forward-refs-expected.txt: Added.
+        * svg-tests/custom/use-forward-refs.svg: Added.
+
 2005-10-08  Rob Buis  <rwlbuis@xs4all.nl>
 
         Reviewed by eseidel.