Submitted by: eseidel
Reviewed by: darin
3 tests checking expected behavior for bad transform.
http://bugzilla.opendarwin.org/show_bug.cgi?id=6061
* svg/custom/transform-ignore-after-invalid-expected.checksum: Added.
* svg/custom/transform-ignore-after-invalid-expected.png: Added.
* svg/custom/transform-ignore-after-invalid-expected.txt: Added.
* svg/custom/transform-ignore-after-invalid.svg: Added.
* svg/custom/transform-invalid-expected.checksum: Added.
* svg/custom/transform-invalid-expected.png: Added.
* svg/custom/transform-invalid-expected.txt: Added.
* svg/custom/transform-invalid.svg: Added.
* svg/custom/transform-with-ending-space-expected.checksum: Added.
* svg/custom/transform-with-ending-space-expected.png: Added.
* svg/custom/transform-with-ending-space-expected.txt: Added.
* svg/custom/transform-with-ending-space.svg: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11568
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-12-13 Eric Seidel <eseidel@apple.com>
+
+ Reviewed by darin.
+
+ 3 tests checking expected behavior for bad transform.
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=6061
+
+ * svg/custom/transform-ignore-after-invalid-expected.checksum: Added.
+ * svg/custom/transform-ignore-after-invalid-expected.png: Added.
+ * svg/custom/transform-ignore-after-invalid-expected.txt: Added.
+ * svg/custom/transform-ignore-after-invalid.svg: Added.
+ * svg/custom/transform-invalid-expected.checksum: Added.
+ * svg/custom/transform-invalid-expected.png: Added.
+ * svg/custom/transform-invalid-expected.txt: Added.
+ * svg/custom/transform-invalid.svg: Added.
+ * svg/custom/transform-with-ending-space-expected.checksum: Added.
+ * svg/custom/transform-with-ending-space-expected.png: Added.
+ * svg/custom/transform-with-ending-space-expected.txt: Added.
+ * svg/custom/transform-with-ending-space.svg: Added.
+
2005-12-12 Justin Garcia <justin.garcia@apple.com>
Reviewed by harrison
--- /dev/null
+5e41aeb73f52555c5781c27b6b300835
\ No newline at end of file
--- /dev/null
+layer at (0,0) size 480x360
+ RenderCanvas at (0,0) size 480x360
+ KCanvasContainer {svg} at (0,0) size 100x100
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
+ <!-- The current behavior is to ignore invalid transforms (and any transforms after).
+ We might choose to enter an "error state" on an invlalid transform in the future. -->
+ <rect width="100" height="100" fill="red"/>
+ <rect width="100" height="100" transform="scale(1,2,3) translate(50,50)" fill="green"/>
+</svg>
--- /dev/null
+5e41aeb73f52555c5781c27b6b300835
\ No newline at end of file
--- /dev/null
+layer at (0,0) size 480x360
+ RenderCanvas at (0,0) size 480x360
+ KCanvasContainer {svg} at (0,0) size 100x100
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
+ <!-- Both of these previously caused crashes, but now should be ignored. -->
+ <rect width="100" height="100" transform="scale()" fill="green"/>
+ <rect width="100" height="100" transform="foo(1,1)" fill="green"/>
+</svg>
--- /dev/null
+5e41aeb73f52555c5781c27b6b300835
\ No newline at end of file
--- /dev/null
+layer at (0,0) size 480x360
+ RenderCanvas at (0,0) size 480x360
+ KCanvasContainer {svg} at (0,0) size 100x100
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
+ <rect width="100" height="100" transform="scale(1,1) " fill="green"/>
+</svg>