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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedPreserveAspectRatio-expected.txt

Issue 2705293005: Convert LayoutTests/svg/dom/SVGAnimated*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Align with review comments Created 3 years, 9 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
OLDNEW
(Empty)
1 This test checks the SVGAnimatedPreserveAspectRatio API - utilizing the preserve AspectRatio property of SVGSVGElement
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Check initial preserveAspectRatio value
8 PASS svgElement.preserveAspectRatio.toString() is "[object SVGAnimatedPreserveAs pectRatio]"
9 PASS svgElement.preserveAspectRatio.baseVal.toString() is "[object SVGPreserveAs pectRatio]"
10 PASS svgElement.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG_ PRESERVEASPECTRATIO_XMIDYMID
11 PASS svgElement.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRati o.SVG_MEETORSLICE_MEET
12
13 Check that preserveAspectRatios are dynamic, caching value in a local variable a nd modifying it, should take effect
14 PASS aspectRef.align is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN
15 PASS aspectRef.meetOrSlice is SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE
16 PASS svgElement.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG_ PRESERVEASPECTRATIO_XMAXYMIN
17 PASS svgElement.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRati o.SVG_MEETORSLICE_SLICE
18
19 Check that assigning to baseVal has no effect, as no setter is defined
20 PASS svgElement.preserveAspectRatio.baseVal = -1 is -1
21 PASS svgElement.preserveAspectRatio.baseVal = 'aString' is "aString"
22 PASS svgElement.preserveAspectRatio.baseVal = svgElement is svgElement
23
24 Check that the preserveAspectRatio align/meetOrSlice remained xMaxYMin/slice, an d the baseVal type has not been changed
25 PASS svgElement.preserveAspectRatio.baseVal.toString() is "[object SVGPreserveAs pectRatio]"
26 PASS svgElement.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG_ PRESERVEASPECTRATIO_XMAXYMIN
27 PASS svgElement.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRati o.SVG_MEETORSLICE_SLICE
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698