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

Unified Diff: LayoutTests/svg/dom/SVGLengthList-insertItemBefore-expected.txt

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/SVGLengthList-insertItemBefore-expected.txt
diff --git a/LayoutTests/svg/dom/SVGLengthList-insertItemBefore-expected.txt b/LayoutTests/svg/dom/SVGLengthList-insertItemBefore-expected.txt
index 3c08c7ea06b34404f1d731ef30d17b0fbd4eb4e8..4f4b752b3aea71335af257c8449bf3be2080f44a 100644
--- a/LayoutTests/svg/dom/SVGLengthList-insertItemBefore-expected.txt
+++ b/LayoutTests/svg/dom/SVGLengthList-insertItemBefore-expected.txt
@@ -61,27 +61,30 @@ PASS text1.x.baseVal.getItem(4).value is 1500
PASS text1.x.baseVal.getItem(5).value is 50
PASS text1.x.baseVal.getItem(6) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (6) is greater than or equal to the maximum bound (6)..
-Insert item 'newLength3' at position=1, between '100' and '500', remove it from the old position=2 afterwards.
+Insert item 'newLength3' at position=1, between '100' and '500', should not remove it from the old position=2 afterwards.
PASS text1.x.baseVal.insertItemBefore(newLength3, 1) is newLength3
-PASS text1.x.baseVal.numberOfItems is 6
+PASS text1.x.baseVal.numberOfItems is 7
PASS text1.x.baseVal.getItem(0).value is 100
PASS text1.x.baseVal.getItem(1).value is 150
PASS text1.x.baseVal.getItem(2).value is 500
-PASS text1.x.baseVal.getItem(3).value is 1000
-PASS text1.x.baseVal.getItem(4).value is 1500
-PASS text1.x.baseVal.getItem(5).value is 50
-PASS text1.x.baseVal.getItem(6) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (6) is greater than or equal to the maximum bound (6)..
+PASS text1.x.baseVal.getItem(3).value is 150
+PASS text1.x.baseVal.getItem(4).value is 1000
+PASS text1.x.baseVal.getItem(5).value is 1500
+PASS text1.x.baseVal.getItem(6).value is 50
+PASS text1.x.baseVal.getItem(7) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (7) is greater than or equal to the maximum bound (7)..
-Insert item 'newLength3' at position=0, before '100', remove it from the old position=5 afterwards.
+Insert item 'newLength1' at position=0, before '100', should not remove it from the old position=6 afterwards.
PASS text1.x.baseVal.insertItemBefore(newLength1, 0) is newLength1
-PASS text1.x.baseVal.numberOfItems is 6
+PASS text1.x.baseVal.numberOfItems is 8
PASS text1.x.baseVal.getItem(0).value is 50
PASS text1.x.baseVal.getItem(1).value is 100
PASS text1.x.baseVal.getItem(2).value is 150
PASS text1.x.baseVal.getItem(3).value is 500
-PASS text1.x.baseVal.getItem(4).value is 1000
-PASS text1.x.baseVal.getItem(5).value is 1500
-PASS text1.x.baseVal.getItem(6) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (6) is greater than or equal to the maximum bound (6)..
+PASS text1.x.baseVal.getItem(4).value is 150
+PASS text1.x.baseVal.getItem(5).value is 1000
+PASS text1.x.baseVal.getItem(6).value is 1500
+PASS text1.x.baseVal.getItem(7).value is 50
+PASS text1.x.baseVal.getItem(8) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (8) is greater than or equal to the maximum bound (8)..
The test passes if you only see 'PASS' messages, and both text elements on top look the same
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-insertItemBefore.xhtml ('k') | LayoutTests/svg/dom/SVGLengthList-removeItem.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698