Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: LayoutTests/svg/dom/SVGNumberList-basics.xhtml

Issue 12288020: Merge 142759 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/dom/SVGNumberList-basics.xhtml
===================================================================
--- LayoutTests/svg/dom/SVGNumberList-basics.xhtml (revision 143078)
+++ LayoutTests/svg/dom/SVGNumberList-basics.xhtml (working copy)
@@ -14,6 +14,9 @@
<![CDATA[
description("This is a test of the simple SVGNumberList API parts.");
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
var text1 = document.getElementById("text1");
// Spec: The object referenced by animVal will always be distinct from the one referenced by baseVal, even when the attribute is not animated.
@@ -98,25 +101,28 @@
shouldThrow("text1.rotate.baseVal.replaceItem(null, 0)");
shouldBe("text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0)", "text1.rotate.baseVal.getItem(0)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "3");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "4");
shouldBe("text1.rotate.baseVal.getItem(0).value", "1");
- shouldBe("text1.rotate.baseVal.getItem(1).value", "3");
- shouldBe("text1.rotate.baseVal.getItem(2).value", "4");
- shouldBeEqualToString("text1.getAttribute('rotate')", "1 3 4");
+ shouldBe("text1.rotate.baseVal.getItem(1).value", "2");
+ shouldBe("text1.rotate.baseVal.getItem(2).value", "3");
+ shouldBe("text1.rotate.baseVal.getItem(3).value", "4");
+ shouldBeEqualToString("text1.getAttribute('rotate')", "1 2 3 4");
shouldBe("text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 'aString')", "text1.rotate.baseVal.getItem(0)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "2");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "4");
shouldBe("text1.rotate.baseVal.getItem(0).value", "1");
- shouldBe("text1.rotate.baseVal.getItem(1).value", "4");
- shouldBeEqualToString("text1.getAttribute('rotate')", "1 4");
+ shouldBe("text1.rotate.baseVal.getItem(1).value", "2");
+ shouldBe("text1.rotate.baseVal.getItem(2).value", "3");
+ shouldBe("text1.rotate.baseVal.getItem(3).value", "4");
+ shouldBeEqualToString("text1.getAttribute('rotate')", "1 2 3 4");
shouldBe("text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), text1)", "text1.rotate.baseVal.getItem(0)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "1");
- shouldBeEqualToString("text1.getAttribute('rotate')", "1");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "4");
+ shouldBeEqualToString("text1.getAttribute('rotate')", "1 2 3 4");
- shouldThrow("text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), null)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "0");
- shouldBeEqualToString("text1.getAttribute('rotate')", "");
+ shouldBe("text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), null)", "text1.rotate.baseVal.getItem(0)");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "4");
+ shouldBeEqualToString("text1.getAttribute('rotate')", "1 2 3 4");
debug("");
debug("Set rotate='1 2 3 4' for text1");
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-basics-expected.txt ('k') | LayoutTests/svg/dom/SVGNumberList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698