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

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

Issue 16959011: Get rid of multiple inheritence for SVGViewElement interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master 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 SVGViewElement.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 SVGViewElement.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 supplmental classes like SVG ViewElement/SVGFitToViewBox
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.. 24 PASS currentView.zoomAndPan = SVGViewElement.SVG_ZOOMANDPAN_DISABLE threw except ion NoModificationAllowedError: An attempt was made to modify an object where mo difications are not allowed..
25 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY 25 PASS currentView.zoomAndPan is SVGViewElement.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 NoModificationAllowedErr or: An attempt was made to modify an object where modifications are not allowed. . 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 NoModificationAllowedErr or: An attempt was made to modify an object where modifications are not allowed. . 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 NoModificationAllowe dError: An attempt was made to modify an object where modifications are not allo wed.. 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 NoModificationAllo wedError: An attempt was made to modify an object where modifications are not al lowed.. 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
(...skipping 25 matching lines...) Expand all
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 NoModificationAllowedError: A n attempt was made to modify an object where modifications are not allowed.. 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/custom/script-tests/global-constructors.js ('k') | LayoutTests/svg/dom/SVGViewSpec-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698