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

Side by Side Diff: LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks the SVGViewSpec API 1 This test checks the SVGViewSpec API
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 6
7 Check initial SVGSVGElement.currentView values on a SVGSVGElement 7 Check initial SVGSVGElement.currentView values on a SVGSVGElement
8 PASS currentView.transform.numberOfItems is 0 8 PASS currentView.transform.numberOfItems is 0
9 PASS currentView.viewTarget is null 9 PASS currentView.viewTarget is null
10 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY 10 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY
11 PASS currentView.viewBox.baseVal.x is 0 11 PASS currentView.viewBox.baseVal.x is 0
12 PASS currentView.viewBox.baseVal.y is 0 12 PASS currentView.viewBox.baseVal.y is 0
13 PASS currentView.viewBox.baseVal.width is 0 13 PASS currentView.viewBox.baseVal.width is 0
14 PASS currentView.viewBox.baseVal.height is 0 14 PASS currentView.viewBox.baseVal.height is 0
15 PASS currentView.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG _PRESERVEASPECTRATIO_XMIDYMID 15 PASS currentView.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG _PRESERVEASPECTRATIO_XMIDYMID
16 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRat io.SVG_MEETORSLICE_MEET 16 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRat io.SVG_MEETORSLICE_MEET
17 PASS currentView.viewBoxString is "0 0 0 0" 17 PASS currentView.viewBoxString is "0 0 0 0"
18 PASS currentView.preserveAspectRatioString is "xMidYMid meet" 18 PASS currentView.preserveAspectRatioString is "xMidYMid meet"
19 PASS currentView.transformString is "" 19 PASS currentView.transformString is ""
20 PASS currentView.viewTargetString is "" 20 PASS currentView.viewTargetString is ""
21 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY 21 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY
22 22
23 Try changing zoomAndPan - none of these will work, as SVGViewSpec is fully reado nly - even the animated properties it inherits from parent classes like SVGZoomA ndPan/SVGFitToViewBox 23 Try changing zoomAndPan - none of these will work, as SVGViewSpec is fully reado nly - even the animated properties it inherits from parent classes like SVGZoomA ndPan/SVGFitToViewBox
24 PASS currentView.zoomAndPan = SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE threw excepti on Error: NoModificationAllowedError: DOM Exception 7. 24 PASS currentView.zoomAndPan = SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE threw excepti on NoModificationAllowedError: An attempt was made to modify an object where mod ifications are not allowed..
25 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY 25 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY
26 26
27 Try changing viewBox - this has no affect on the SVGSVGElement the viewSpec belo ngs to - it exposed all its properties as read-only 27 Try changing viewBox - this has no affect on the SVGSVGElement the viewSpec belo ngs to - it exposed all its properties as read-only
28 PASS currentView.viewBox.baseVal.x = 10 threw exception Error: NoModificationAll owedError: DOM Exception 7. 28 PASS currentView.viewBox.baseVal.x = 10 threw exception NoModificationAllowedErr or: An attempt was made to modify an object where modifications are not allowed. .
29 PASS currentView.viewBox.baseVal.x is 0 29 PASS currentView.viewBox.baseVal.x is 0
30 PASS currentView.viewBox.baseVal.y = 20 threw exception Error: NoModificationAll owedError: DOM Exception 7. 30 PASS currentView.viewBox.baseVal.y = 20 threw exception NoModificationAllowedErr or: An attempt was made to modify an object where modifications are not allowed. .
31 PASS currentView.viewBox.baseVal.y is 0 31 PASS currentView.viewBox.baseVal.y is 0
32 PASS currentView.viewBox.baseVal.width = 50 threw exception Error: NoModificatio nAllowedError: DOM Exception 7. 32 PASS currentView.viewBox.baseVal.width = 50 threw exception NoModificationAllowe dError: An attempt was made to modify an object where modifications are not allo wed..
33 PASS currentView.viewBox.baseVal.width is 0 33 PASS currentView.viewBox.baseVal.width is 0
34 PASS currentView.viewBox.baseVal.height = 100 threw exception Error: NoModificat ionAllowedError: DOM Exception 7. 34 PASS currentView.viewBox.baseVal.height = 100 threw exception NoModificationAllo wedError: An attempt was made to modify an object where modifications are not al lowed..
35 PASS currentView.viewBox.baseVal.height is 0 35 PASS currentView.viewBox.baseVal.height is 0
36 PASS currentView.viewBoxString is "0 0 0 0" 36 PASS currentView.viewBoxString is "0 0 0 0"
37 37
38 Try changing viewBoxString 38 Try changing viewBoxString
39 PASS currentView.viewBoxString = '1 2 3 4' is "1 2 3 4" 39 PASS currentView.viewBoxString = '1 2 3 4' is "1 2 3 4"
40 PASS currentView.viewBoxString is "0 0 0 0" 40 PASS currentView.viewBoxString is "0 0 0 0"
41 41
42 Try changing preserveAspectRatio 42 Try changing preserveAspectRatio
43 PASS currentView.preserveAspectRatio.baseVal.align = SVGPreserveAspectRatio.SVG_ PRESERVEASPECTRATIO_XMINYMIN threw exception Error: NoModificationAllowedError: DOM Exception 7. 43 PASS currentView.preserveAspectRatio.baseVal.align = SVGPreserveAspectRatio.SVG_ PRESERVEASPECTRATIO_XMINYMIN threw exception NoModificationAllowedError: An atte mpt was made to modify an object where modifications are not allowed..
44 PASS currentView.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG _PRESERVEASPECTRATIO_XMIDYMID 44 PASS currentView.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG _PRESERVEASPECTRATIO_XMIDYMID
45 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice = SVGPreserveAspectRati o.SVG_MEETORSLICE_SLICE threw exception Error: NoModificationAllowedError: DOM E xception 7. 45 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice = SVGPreserveAspectRati o.SVG_MEETORSLICE_SLICE threw exception NoModificationAllowedError: An attempt w as made to modify an object where modifications are not allowed..
46 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRat io.SVG_MEETORSLICE_MEET 46 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRat io.SVG_MEETORSLICE_MEET
47 47
48 Try changing preserveAspectRatioString 48 Try changing preserveAspectRatioString
49 PASS currentView.preserveAspectRatioString = 'xMinYMin slice' is "xMinYMin slice " 49 PASS currentView.preserveAspectRatioString = 'xMinYMin slice' is "xMinYMin slice "
50 PASS currentView.preserveAspectRatioString is "xMidYMid meet" 50 PASS currentView.preserveAspectRatioString is "xMidYMid meet"
51 51
52 Try changing transformString 52 Try changing transformString
53 PASS currentView.transformString = 'rotate(90)' is "rotate(90)" 53 PASS currentView.transformString = 'rotate(90)' is "rotate(90)"
54 PASS currentView.transformString is "" 54 PASS currentView.transformString is ""
55 55
56 Try changing viewTarget 56 Try changing viewTarget
57 PASS currentView.viewTarget = svgElement is svgElement 57 PASS currentView.viewTarget = svgElement is svgElement
58 PASS currentView.viewTarget is null 58 PASS currentView.viewTarget is null
59 59
60 Try changing viewTargetString 60 Try changing viewTargetString
61 PASS currentView.viewTargetString = '#test' is "#test" 61 PASS currentView.viewTargetString = '#test' is "#test"
62 PASS currentView.viewTargetString is "" 62 PASS currentView.viewTargetString is ""
63 63
64 Try changing transform 64 Try changing transform
65 PASS currentView.transform.clear() threw exception Error: NoModificationAllowedE rror: DOM Exception 7. 65 PASS currentView.transform.clear() threw exception NoModificationAllowedError: A n attempt was made to modify an object where modifications are not allowed..
66 PASS currentView.transform.numberOfItems is 0 66 PASS currentView.transform.numberOfItems is 0
67 PASS successfullyParsed is true 67 PASS successfullyParsed is true
68 68
69 TEST COMPLETE 69 TEST COMPLETE
70 70
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGTransformList-expected.txt ('k') | LayoutTests/svg/dom/altGlyph-dom-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698