| OLD | NEW |
| 1 This test checks the SVGPreserveAspectRatio API - utilizing the preserveAspectRa
tio property of SVGSVGElement | 1 This test checks the SVGPreserveAspectRatio API - utilizing the preserveAspectRa
tio property of SVGSVGElement |
| 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 align/meetOrSlice values | 7 Check initial align/meetOrSlice values |
| 8 PASS preserveAspectRatio.align is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO
_XMIDYMID | 8 PASS preserveAspectRatio.align is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO
_XMIDYMID |
| 9 PASS preserveAspectRatio.meetOrSlice is SVGPreserveAspectRatio.SVG_MEETORSLICE_M
EET | 9 PASS preserveAspectRatio.meetOrSlice is SVGPreserveAspectRatio.SVG_MEETORSLICE_M
EET |
| 10 | 10 |
| 11 Check assigning align/meetOrSlice values | 11 Check assigning align/meetOrSlice values |
| 12 PASS preserveAspectRatio.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_
XMIDYMIN is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN | 12 PASS preserveAspectRatio.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_
XMIDYMIN is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN |
| 13 PASS preserveAspectRatio.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SL
ICE is SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE | 13 PASS preserveAspectRatio.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SL
ICE is SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE |
| 14 | 14 |
| 15 Check assigning invalid align values | 15 Check assigning invalid align values |
| 16 PASS preserveAspectRatio.align = preserveAspectRatio threw exception Error: NotS
upportedError: DOM Exception 9. | 16 PASS preserveAspectRatio.align = preserveAspectRatio threw exception NotSupporte
dError: The implementation did not support the requested type of object or opera
tion.. |
| 17 PASS preserveAspectRatio.align = null threw exception Error: NotSupportedError:
DOM Exception 9. | 17 PASS preserveAspectRatio.align = null threw exception NotSupportedError: The imp
lementation did not support the requested type of object or operation.. |
| 18 PASS preserveAspectRatio.align = 'aString' threw exception Error: NotSupportedEr
ror: DOM Exception 9. | 18 PASS preserveAspectRatio.align = 'aString' threw exception NotSupportedError: Th
e implementation did not support the requested type of object or operation.. |
| 19 PASS preserveAspectRatio.align = svgElement threw exception Error: NotSupportedE
rror: DOM Exception 9. | 19 PASS preserveAspectRatio.align = svgElement threw exception NotSupportedError: T
he implementation did not support the requested type of object or operation.. |
| 20 PASS preserveAspectRatio.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_
UNKNOWN threw exception Error: NotSupportedError: DOM Exception 9. | 20 PASS preserveAspectRatio.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_
UNKNOWN threw exception NotSupportedError: The implementation did not support th
e requested type of object or operation.. |
| 21 PASS preserveAspectRatio.align = -1 threw exception Error: NotSupportedError: DO
M Exception 9. | 21 PASS preserveAspectRatio.align = -1 threw exception NotSupportedError: The imple
mentation did not support the requested type of object or operation.. |
| 22 PASS preserveAspectRatio.align = 11 threw exception Error: NotSupportedError: DO
M Exception 9. | 22 PASS preserveAspectRatio.align = 11 threw exception NotSupportedError: The imple
mentation did not support the requested type of object or operation.. |
| 23 | 23 |
| 24 Check assigning invalid meetOrSlice values | 24 Check assigning invalid meetOrSlice values |
| 25 PASS preserveAspectRatio.meetOrSlice = preserveAspectRatio threw exception Error
: NotSupportedError: DOM Exception 9. | 25 PASS preserveAspectRatio.meetOrSlice = preserveAspectRatio threw exception NotSu
pportedError: The implementation did not support the requested type of object or
operation.. |
| 26 PASS preserveAspectRatio.meetOrSlice = null threw exception Error: NotSupportedE
rror: DOM Exception 9. | 26 PASS preserveAspectRatio.meetOrSlice = null threw exception NotSupportedError: T
he implementation did not support the requested type of object or operation.. |
| 27 PASS preserveAspectRatio.meetOrSlice = 'aString' threw exception Error: NotSuppo
rtedError: DOM Exception 9. | 27 PASS preserveAspectRatio.meetOrSlice = 'aString' threw exception NotSupportedErr
or: The implementation did not support the requested type of object or operation
.. |
| 28 PASS preserveAspectRatio.meetOrSlice = svgElement threw exception Error: NotSupp
ortedError: DOM Exception 9. | 28 PASS preserveAspectRatio.meetOrSlice = svgElement threw exception NotSupportedEr
ror: The implementation did not support the requested type of object or operatio
n.. |
| 29 PASS preserveAspectRatio.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_UN
KNOWN threw exception Error: NotSupportedError: DOM Exception 9. | 29 PASS preserveAspectRatio.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_UN
KNOWN threw exception NotSupportedError: The implementation did not support the
requested type of object or operation.. |
| 30 PASS preserveAspectRatio.meetOrSlice = -1 threw exception Error: NotSupportedErr
or: DOM Exception 9. | 30 PASS preserveAspectRatio.meetOrSlice = -1 threw exception NotSupportedError: The
implementation did not support the requested type of object or operation.. |
| 31 PASS preserveAspectRatio.meetOrSlice = 3 threw exception Error: NotSupportedErro
r: DOM Exception 9. | 31 PASS preserveAspectRatio.meetOrSlice = 3 threw exception NotSupportedError: The
implementation did not support the requested type of object or operation.. |
| 32 | 32 |
| 33 Check that the preserveAspectRatio remained correct | 33 Check that the preserveAspectRatio remained correct |
| 34 PASS preserveAspectRatio.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_
XMIDYMIN is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN | 34 PASS preserveAspectRatio.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_
XMIDYMIN is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN |
| 35 PASS preserveAspectRatio.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SL
ICE is SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE | 35 PASS preserveAspectRatio.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SL
ICE is SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE |
| 36 PASS successfullyParsed is true | 36 PASS successfullyParsed is true |
| 37 | 37 |
| 38 TEST COMPLETE | 38 TEST COMPLETE |
| 39 | 39 |
| OLD | NEW |