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

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

Issue 54473004: Make js-test-post a noop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add mac NeedsRebaselines Created 7 years, 1 month 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, operating on a parsed viewSpec 1 CONSOLE ERROR: Uncaught SyntaxError: Unexpected end of input
2 2 FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Loading external SVG resources/viewspec-target.svg
8 Passing SVGViewSpec: svgView(viewBox(0,0,100,50);preserveAspectRatio(xMinYMid sl ice);transform(translate(0 10) translate(25 25) rotate(45) translate(-25 -25) sc ale(0.7 0.7));viewTarget(blub);zoomAndPan(disable))
9
10
11 Check transform value
12 PASS currentView.transformString is "translate(0 10) translate(25 25) rotate(45) translate(-25 -25) scale(0.7 0.7)"
13 PASS currentView.transform.numberOfItems is 5
14 PASS currentView.transform.getItem(0).type is SVGTransform.SVG_TRANSFORM_TRANSLA TE
15 PASS currentView.transform.getItem(0).angle is 0
16 PASS matrixToString(currentView.transform.getItem(0).matrix) is "[1.00 0.00 0.00 1.00 0.00 10.00]"
17 PASS currentView.transform.getItem(1).type is SVGTransform.SVG_TRANSFORM_TRANSLA TE
18 PASS currentView.transform.getItem(1).angle is 0
19 PASS matrixToString(currentView.transform.getItem(1).matrix) is "[1.00 0.00 0.00 1.00 25.00 25.00]"
20 PASS currentView.transform.getItem(2).type is SVGTransform.SVG_TRANSFORM_ROTATE
21 PASS currentView.transform.getItem(2).angle is 45
22 PASS matrixToString(currentView.transform.getItem(2).matrix) is "[0.71 0.71 -0.7 1 0.71 0.00 0.00]"
23 PASS currentView.transform.getItem(3).type is SVGTransform.SVG_TRANSFORM_TRANSLA TE
24 PASS currentView.transform.getItem(3).angle is 0
25 PASS matrixToString(currentView.transform.getItem(3).matrix) is "[1.00 0.00 0.00 1.00 -25.00 -25.00]"
26 PASS currentView.transform.getItem(4).type is SVGTransform.SVG_TRANSFORM_SCALE
27 PASS currentView.transform.getItem(4).angle is 0
28 PASS matrixToString(currentView.transform.getItem(4).matrix) is "[0.70 0.00 0.00 0.70 0.00 0.00]"
29
30 Check viewTarget value
31 PASS currentView.viewTargetString is "blub"
32 PASS currentView.viewTarget is null
33
34 Check zoomAndPan value
35 PASS currentView.zoomAndPan is SVGViewElement.SVG_ZOOMANDPAN_DISABLE
36
37 Check viewBox value
38 PASS currentView.viewBox.baseVal.x is 0
39 PASS currentView.viewBox.baseVal.y is 0
40 PASS currentView.viewBox.baseVal.width is 100
41 PASS currentView.viewBox.baseVal.height is 50
42 PASS currentView.viewBoxString is "0 0 100 50"
43
44 Check preserveAspectRatio value
45 PASS currentView.preserveAspectRatioString is "xMinYMid slice"
46 PASS currentView.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG _PRESERVEASPECTRATIO_XMINYMID
47 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRat io.SVG_MEETORSLICE_SLICE
48 PASS successfullyParsed is true
49 3
50 TEST COMPLETE 4 TEST COMPLETE
51 5
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698