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

Unified Diff: LayoutTests/svg/dom/SVGLengthList-initialize-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-initialize-expected.txt
diff --git a/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt b/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
index 4804451e5e92bf30b2722fdb70cc91bca9448212..a392ad8a6d46986ba0da0f222f9e220eed5a12dc 100644
--- a/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
+++ b/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
@@ -44,27 +44,27 @@ Take the second x item '500' of the second text element, store it in 'itemInAnot
PASS text2.x.baseVal.getItem(1).value is 500
PASS text2.x.baseVal.getItem(1).value is 50
-Override the third text elements x list with the item x=50 from the second text element, where it should be removed afterwards
+Override the third text elements x list with the item x=50 from the second text element, where it should not be removed afterwards
PASS text3.x.baseVal.initialize(itemInAnotherList) is itemInAnotherList
PASS text3.x.baseVal.getItem(0).value is 50
PASS text2.x.baseVal.getItem(0).value is 50
-PASS text2.x.baseVal.getItem(1) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (1) is greater than or equal to the maximum bound (1)..
+PASS text2.x.baseVal.getItem(1) did not throw exception.
Assure that the 'itemInAnotherList' item is still live anymore, set value to 999 then back to 50
PASS itemInAnotherList.value = 999; is 999
PASS itemInAnotherList.value is 999
-PASS text3.x.baseVal.getItem(0).value is 999
+PASS text3.x.baseVal.getItem(0).value is 50
PASS itemInAnotherList.value = 50; is 50
PASS itemInAnotherList.value is 50
PASS text3.x.baseVal.getItem(0).value is 50
-Move item from text3 to text4
+Copy item from text3 to text4
PASS text4.x.baseVal.initialize(text3.x.baseVal.getItem(0)) is itemInAnotherList
PASS text4.x.baseVal.getItem(0).value is 50
-PASS text3.x.baseVal.getItem(0) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (0) is greater than or equal to the maximum bound (0)..
+PASS text3.x.baseVal.getItem(0) did not throw exception.
-Initialize text3 using setAttribute('x', '50')
-PASS text3.x.baseVal.getItem(0).value is 50
+Initialize text2 using setAttribute('x', '50')
+PASS text2.x.baseVal.getItem(0).value is 50
Final check whether the lists all look like expected
PASS text1.x.baseVal.getItem(0).value is 50
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-initialize.xhtml ('k') | LayoutTests/svg/dom/SVGLengthList-insertItemBefore.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698