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

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

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 7 years 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 4ed36d103b83b7e566492faf2e6d7ca9b0e20fe4..d3476c167ead05356cfef8c50116628ce27689f2 100644
--- a/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
+++ b/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
@@ -37,15 +37,15 @@ Create a new SVGLength object, that will be the only x coordinate in the first t
PASS newLength.value is 50
Initialize SVGLengthList with 'newLength'
-PASS text1.x.baseVal.initialize(newLength) is newLength
-PASS text1.x.baseVal.getItem(0) is newLength
+FAIL text1.x.baseVal.initialize(newLength) should be [object SVGLength]. Was [object SVGLength].
+FAIL text1.x.baseVal.getItem(0) should be [object SVGLength]. Was [object SVGLength].
Take the second x item '500' of the second text element, store it in 'itemInAnotherList' change it to '50'
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
-PASS text3.x.baseVal.initialize(itemInAnotherList) is itemInAnotherList
+FAIL text3.x.baseVal.initialize(itemInAnotherList) should be [object SVGLength]. Was [object SVGLength].
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: Index or size was negative, or greater than the allowed value..
@@ -59,7 +59,7 @@ PASS itemInAnotherList.value is 50
PASS text3.x.baseVal.getItem(0).value is 50
Move item from text3 to text4
-PASS text4.x.baseVal.initialize(text3.x.baseVal.getItem(0)) is itemInAnotherList
+FAIL text4.x.baseVal.initialize(text3.x.baseVal.getItem(0)) should be [object SVGLength]. Was [object SVGLength].
PASS text4.x.baseVal.getItem(0).value is 50
PASS text3.x.baseVal.getItem(0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..

Powered by Google App Engine
This is Rietveld 408576698