OLD | NEW |
1 Testing whether CSSPrimitiveValue.getFloatValue() converts units correctly. | 1 Testing whether CSSPrimitiveValue.getFloatValue() converts units correctly. |
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 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PT) is 10 | 6 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PT) is 10 |
7 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_MM) is 3.527778 | 7 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_MM) is 3.527778 |
8 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_CM) is 0.352778 | 8 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_CM) is 0.352778 |
9 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_IN) is 0.138889 | 9 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_IN) is 0.138889 |
10 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PC) is 0.833333 | 10 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PC) is 0.833333 |
11 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PX) is 13.333333 | 11 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PX) is 13.333333 |
12 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_NUMBER) is 13.333333 | 12 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_NUMBER) is 13.333333 |
13 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_DEG) is
90 | 13 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_DEG) is
90 |
14 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_RAD) is
1.570796 | 14 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_RAD) is
1.570796 |
15 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_GRAD) i
s 100 | 15 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_GRAD) i
s 100 |
16 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_NUMBER)
is 90 | 16 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_NUMBER)
is 90 |
17 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_MS) is 200 | 17 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_MS) is 200 |
18 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_S) is 0.2 | 18 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_S) is 0.2 |
19 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_NUMBER) is 2
00 | 19 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_NUMBER) is 2
00 |
20 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PERCENTAGE) threw exceptio
n Error: InvalidAccessError: DOM Exception 15. | 20 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_PERCENTAGE) threw exceptio
n InvalidAccessError: A parameter or an operation was not supported by the under
lying object.. |
21 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_MS) threw exception Error:
InvalidAccessError: DOM Exception 15. | 21 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_MS) threw exception Invali
dAccessError: A parameter or an operation was not supported by the underlying ob
ject.. |
22 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_HZ) threw exception Error:
InvalidAccessError: DOM Exception 15. | 22 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_HZ) threw exception Invali
dAccessError: A parameter or an operation was not supported by the underlying ob
ject.. |
23 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_DEG) threw exception Error
: InvalidAccessError: DOM Exception 15. | 23 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_DEG) threw exception Inval
idAccessError: A parameter or an operation was not supported by the underlying o
bject.. |
24 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_RGBCOLOR) threw exception
Error: InvalidAccessError: DOM Exception 15. | 24 PASS getFloatValue('font-size', CSSPrimitiveValue.CSS_RGBCOLOR) threw exception
InvalidAccessError: A parameter or an operation was not supported by the underly
ing object.. |
25 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_PERCENT
AGE) threw exception Error: InvalidAccessError: DOM Exception 15. | 25 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_PERCENT
AGE) threw exception InvalidAccessError: A parameter or an operation was not sup
ported by the underlying object.. |
26 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_PX) thr
ew exception Error: InvalidAccessError: DOM Exception 15. | 26 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_PX) thr
ew exception InvalidAccessError: A parameter or an operation was not supported b
y the underlying object.. |
27 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_MS) thr
ew exception Error: InvalidAccessError: DOM Exception 15. | 27 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_MS) thr
ew exception InvalidAccessError: A parameter or an operation was not supported b
y the underlying object.. |
28 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_HZ) thr
ew exception Error: InvalidAccessError: DOM Exception 15. | 28 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_HZ) thr
ew exception InvalidAccessError: A parameter or an operation was not supported b
y the underlying object.. |
29 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_RGBCOLO
R) threw exception Error: InvalidAccessError: DOM Exception 15. | 29 PASS getFirstFloatValueInList('-webkit-transform', CSSPrimitiveValue.CSS_RGBCOLO
R) threw exception InvalidAccessError: A parameter or an operation was not suppo
rted by the underlying object.. |
30 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_PERCENTAGE)
threw exception Error: InvalidAccessError: DOM Exception 15. | 30 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_PERCENTAGE)
threw exception InvalidAccessError: A parameter or an operation was not supporte
d by the underlying object.. |
31 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_PX) threw ex
ception Error: InvalidAccessError: DOM Exception 15. | 31 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_PX) threw ex
ception InvalidAccessError: A parameter or an operation was not supported by the
underlying object.. |
32 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_DEG) threw e
xception Error: InvalidAccessError: DOM Exception 15. | 32 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_DEG) threw e
xception InvalidAccessError: A parameter or an operation was not supported by th
e underlying object.. |
33 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_HZ) threw ex
ception Error: InvalidAccessError: DOM Exception 15. | 33 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_HZ) threw ex
ception InvalidAccessError: A parameter or an operation was not supported by the
underlying object.. |
34 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_RGBCOLOR) th
rew exception Error: InvalidAccessError: DOM Exception 15. | 34 PASS getFloatValue('-webkit-animation-delay', CSSPrimitiveValue.CSS_RGBCOLOR) th
rew exception InvalidAccessError: A parameter or an operation was not supported
by the underlying object.. |
35 PASS successfullyParsed is true | 35 PASS successfullyParsed is true |
36 | 36 |
37 TEST COMPLETE | 37 TEST COMPLETE |
38 | 38 |
OLD | NEW |