Bug #: 6157
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Dec 2005 07:33:03 +0000 (07:33 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Dec 2005 07:33:03 +0000 (07:33 +0000)
Submitted by: rob buis
Reviewed by: eseidel
        WebCore+SVG has some problems with rounded rectangles
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6157

        * svg/custom/rounded-rects-expected.checksum: Added.
        * svg/custom/rounded-rects-expected.png: Added.
        * svg/custom/rounded-rects-expected.txt: Added.
        * svg/custom/rounded-rects.svg: Added.

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

LayoutTests/ChangeLog
LayoutTests/svg/custom/rounded-rects-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/rounded-rects-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/rounded-rects-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/rounded-rects.svg [new file with mode: 0644]

index 7ccf51e9fb732494669330e8beefc22ebc1b274d..35040d019936c7fae58f746e1be65c1faa65fb39 100644 (file)
@@ -1,3 +1,15 @@
+2005-12-30  Rob Buis  <rwlbuis@xs4all.nl>
+
+        Reviewed by eseidel.
+
+        WebCore+SVG has some problems with rounded rectangles
+        http://bugzilla.opendarwin.org/show_bug.cgi?id=6157
+
+        * svg/custom/rounded-rects-expected.checksum: Added.
+        * svg/custom/rounded-rects-expected.png: Added.
+        * svg/custom/rounded-rects-expected.txt: Added.
+        * svg/custom/rounded-rects.svg: Added.
+
 2005-12-29  Graham Dennis  <Graham.Dennis@gmail.com>
 
         Reviewed and refined by Darin.
diff --git a/LayoutTests/svg/custom/rounded-rects-expected.checksum b/LayoutTests/svg/custom/rounded-rects-expected.checksum
new file mode 100644 (file)
index 0000000..b2b9d60
--- /dev/null
@@ -0,0 +1 @@
+9fd13c851e422b4ef339d3263636aa9c
\ No newline at end of file
diff --git a/LayoutTests/svg/custom/rounded-rects-expected.png b/LayoutTests/svg/custom/rounded-rects-expected.png
new file mode 100644 (file)
index 0000000..19cbec7
Binary files /dev/null and b/LayoutTests/svg/custom/rounded-rects-expected.png differ
diff --git a/LayoutTests/svg/custom/rounded-rects-expected.txt b/LayoutTests/svg/custom/rounded-rects-expected.txt
new file mode 100644 (file)
index 0000000..47cec65
--- /dev/null
@@ -0,0 +1,5 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+    KCanvasContainer {svg} at (50,50) size 400x400
+      KCanvasItem {rect} at (50,50) size 400x400 [fill={[type=SOLID] [color=#00FF00]}] [data="M100.00,50.00C72.40,50.00,50.00,72.40,50.00,100.00L50.00,400.00C50.00,427.60,72.40,450.00,100.00,450.00L400.00,450.00C427.60,450.00,450.00,427.60,450.00,400.00L450.00,100.00C450.00,72.40,427.60,50.00,400.00,50.00L100.00,50.00"]
+      KCanvasItem {rect} at (150,100) size 200x300 [fill={[type=SOLID] [color=#0000FF]}] [data="M185.00,100.00C165.68,100.00,150.00,167.20,150.00,250.00C150.00,332.80,165.68,400.00,185.00,400.00L315.00,400.00C334.32,400.00,350.00,332.80,350.00,250.00C350.00,167.20,334.32,100.00,315.00,100.00L185.00,100.00"]
diff --git a/LayoutTests/svg/custom/rounded-rects.svg b/LayoutTests/svg/custom/rounded-rects.svg
new file mode 100644 (file)
index 0000000..433ecd5
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   version="1.0"
+   width="500"
+   height="500">
+  <rect
+     width="400"
+     height="400"
+     ry="50"
+     x="50"
+     y="50"
+     style="fill:#00ff00;fill-opacity:1;stroke:none"
+     id="rectWithNoRx" />
+  <rect
+     width="200"
+     height="300"
+     rx="35"
+     ry="150"
+     x="150"
+     y="100"
+     style="fill:#0000ff;fill-opacity:1;stroke:none"
+     id="rectAsym" />
+</svg>