Convert SVG test from r153433 to a reftest
authorrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Jul 2013 21:09:52 +0000 (21:09 +0000)
committerrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Jul 2013 21:09:52 +0000 (21:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=119346

Reviewed by Philip Rogers.

Reftest taken from https://chromium.googlesource.com/chromium/blink/+/ac10e305a870c8fd500b42e90075aee3aa48da8d.

* platform/qt/svg/animations/attributeNameAndAttributeTypeMissmatch-expected.txt: Removed.
* svg/animations/attributeNameAndAttributeTypeMismatch-expected.html: Added.
* svg/animations/attributeNameAndAttributeTypeMismatch.html: Added.
* svg/animations/attributeNameAndAttributeTypeMissmatch.svg: Removed.

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

LayoutTests/ChangeLog
LayoutTests/platform/qt/svg/animations/attributeNameAndAttributeTypeMissmatch-expected.txt [deleted file]
LayoutTests/svg/animations/attributeNameAndAttributeTypeMismatch-expected.html [new file with mode: 0644]
LayoutTests/svg/animations/attributeNameAndAttributeTypeMismatch.html [new file with mode: 0644]
LayoutTests/svg/animations/attributeNameAndAttributeTypeMissmatch.svg [deleted file]

index bc3a03b..39448d8 100644 (file)
@@ -1,3 +1,17 @@
+2013-07-31  Rob Buis  <rwlbuis@webkit.org>
+
+        Convert SVG test from r153433 to a reftest
+        https://bugs.webkit.org/show_bug.cgi?id=119346
+
+        Reviewed by Philip Rogers.
+
+        Reftest taken from https://chromium.googlesource.com/chromium/blink/+/ac10e305a870c8fd500b42e90075aee3aa48da8d.
+
+        * platform/qt/svg/animations/attributeNameAndAttributeTypeMissmatch-expected.txt: Removed.
+        * svg/animations/attributeNameAndAttributeTypeMismatch-expected.html: Added.
+        * svg/animations/attributeNameAndAttributeTypeMismatch.html: Added.
+        * svg/animations/attributeNameAndAttributeTypeMissmatch.svg: Removed.
+
 2013-07-31  Ruth Fong  <ruth_fong@apple.com>
 
         <input type=color> Mac UI behaviour
diff --git a/LayoutTests/platform/qt/svg/animations/attributeNameAndAttributeTypeMissmatch-expected.txt b/LayoutTests/platform/qt/svg/animations/attributeNameAndAttributeTypeMissmatch-expected.txt
deleted file mode 100644 (file)
index 4d74d90..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (10,5) size 243x19
-    RenderSVGText {text} at (10,5) size 243x19 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 243x19
-        chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 42 width 243.00: "Test passes if it does not crash in debug."
diff --git a/LayoutTests/svg/animations/attributeNameAndAttributeTypeMismatch-expected.html b/LayoutTests/svg/animations/attributeNameAndAttributeTypeMismatch-expected.html
new file mode 100644 (file)
index 0000000..c572db2
--- /dev/null
@@ -0,0 +1,8 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
+    <text x="10" y="20">Test passes if it does not crash.</text>
+</svg>
+</body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/svg/animations/attributeNameAndAttributeTypeMismatch.html b/LayoutTests/svg/animations/attributeNameAndAttributeTypeMismatch.html
new file mode 100644 (file)
index 0000000..294e30d
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
+    <animateTransform attributeName="transform" attributeType="CSS"></animateTransform>
+    <text x="10" y="20">Test passes if it does not crash.</text>
+</svg>
+</body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/svg/animations/attributeNameAndAttributeTypeMissmatch.svg b/LayoutTests/svg/animations/attributeNameAndAttributeTypeMissmatch.svg
deleted file mode 100644 (file)
index 78737a3..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-    <animateTransform attributeName="transform" attributeType="CSS"></animateTransform>
-    <text x="10" y="20">Test passes if it does not crash in debug.</text>
-</svg>