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

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

Issue 1177303004: Updated SVGListPropertyHelper as per SVG2 Spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed presubmit error Created 5 years, 6 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
diff --git a/LayoutTests/svg/dom/SVGNumberList-basics.xhtml b/LayoutTests/svg/dom/SVGNumberList-basics.xhtml
index f8bcd5b25636341424ee806b2c3551d8d16d88d4..323ed6cf8dd0edcdc86fdf75467bb0723389c821 100644
--- a/LayoutTests/svg/dom/SVGNumberList-basics.xhtml
+++ b/LayoutTests/svg/dom/SVGNumberList-basics.xhtml
@@ -47,32 +47,42 @@
shouldThrow("text1.rotate.baseVal.insertItemBefore(null)");
shouldBe("text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), 'aString')", "text1.rotate.baseVal.getItem(0)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "3");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "4");
shouldBe("text1.rotate.baseVal.getItem(0).value", "180");
shouldBe("text1.rotate.baseVal.getItem(1).value", "90");
- shouldBe("text1.rotate.baseVal.getItem(2).value", "270");
- shouldBeEqualToString("text1.getAttribute('rotate')", "180 90 270");
+ shouldBe("text1.rotate.baseVal.getItem(2).value", "180");
+ shouldBe("text1.rotate.baseVal.getItem(3).value", "270");
+ shouldBeEqualToString("text1.getAttribute('rotate')", "180 90 180 270");
shouldBe("text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), text1)", "text1.rotate.baseVal.getItem(0)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "3");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "5");
shouldBe("text1.rotate.baseVal.getItem(0).value", "90");
shouldBe("text1.rotate.baseVal.getItem(1).value", "180");
- shouldBe("text1.rotate.baseVal.getItem(2).value", "270");
- shouldBeEqualToString("text1.getAttribute('rotate')", "90 180 270");
+ shouldBe("text1.rotate.baseVal.getItem(2).value", "90");
+ shouldBe("text1.rotate.baseVal.getItem(3).value", "180");
+ shouldBe("text1.rotate.baseVal.getItem(4).value", "270");
+ shouldBeEqualToString("text1.getAttribute('rotate')", "90 180 90 180 270");
shouldBe("text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), null)", "text1.rotate.baseVal.getItem(0)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "3");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "6");
shouldBe("text1.rotate.baseVal.getItem(0).value", "180");
shouldBe("text1.rotate.baseVal.getItem(1).value", "90");
- shouldBe("text1.rotate.baseVal.getItem(2).value", "270");
- shouldBeEqualToString("text1.getAttribute('rotate')", "180 90 270");
+ shouldBe("text1.rotate.baseVal.getItem(2).value", "180");
+ shouldBe("text1.rotate.baseVal.getItem(3).value", "90");
+ shouldBe("text1.rotate.baseVal.getItem(4).value", "180");
+ shouldBe("text1.rotate.baseVal.getItem(5).value", "270");
+ shouldBeEqualToString("text1.getAttribute('rotate')", "180 90 180 90 180 270");
shouldBe("text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), 0)", "text1.rotate.baseVal.getItem(0)");
- shouldBe("text1.rotate.baseVal.numberOfItems", "3");
+ shouldBe("text1.rotate.baseVal.numberOfItems", "7");
shouldBe("text1.rotate.baseVal.getItem(0).value", "90");
shouldBe("text1.rotate.baseVal.getItem(1).value", "180");
- shouldBe("text1.rotate.baseVal.getItem(2).value", "270");
- shouldBeEqualToString("text1.getAttribute('rotate')", "90 180 270");
+ shouldBe("text1.rotate.baseVal.getItem(2).value", "90");
+ shouldBe("text1.rotate.baseVal.getItem(3).value", "180");
+ shouldBe("text1.rotate.baseVal.getItem(4).value", "90");
+ shouldBe("text1.rotate.baseVal.getItem(5).value", "180");
+ shouldBe("text1.rotate.baseVal.getItem(6).value", "270");;
+ shouldBeEqualToString("text1.getAttribute('rotate')", "90 180 90 180 90 180 270");
shouldThrow("text1.rotate.baseVal.insertItemBefore(30, 0)");
shouldThrow("text1.rotate.baseVal.insertItemBefore('aString', 0)");
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-replaceItem-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