OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS Setting top to auto | |
3 PASS Setting top to initial | |
4 PASS Setting top to inherit | |
5 PASS Setting top to unset | |
6 FAIL Setting top to CSSUnitValue with value 1px Failed to execute 'set' on 'Styl
ePropertyMap': Invalid type for property | |
7 FAIL Setting top to CSSUnitValue with value 3em Failed to execute 'set' on 'Styl
ePropertyMap': Invalid type for property | |
8 FAIL Setting top to CSSUnitValue with value 4ex Failed to execute 'set' on 'Styl
ePropertyMap': Invalid type for property | |
9 FAIL Setting top to CSSUnitValue with value 5ch Failed to execute 'set' on 'Styl
ePropertyMap': Invalid type for property | |
10 FAIL Setting top to CSSUnitValue with value 6rem Failed to execute 'set' on 'Sty
lePropertyMap': Invalid type for property | |
11 FAIL Setting top to CSSUnitValue with value 7vw Failed to execute 'set' on 'Styl
ePropertyMap': Invalid type for property | |
12 FAIL Setting top to CSSUnitValue with value 8vh Failed to execute 'set' on 'Styl
ePropertyMap': Invalid type for property | |
13 FAIL Setting top to CSSUnitValue with value 9vmin Failed to execute 'set' on 'St
ylePropertyMap': Invalid type for property | |
14 FAIL Setting top to CSSUnitValue with value 10vmax Failed to execute 'set' on 'S
tylePropertyMap': Invalid type for property | |
15 FAIL Setting top to CSSUnitValue with value 11cm Failed to execute 'set' on 'Sty
lePropertyMap': Invalid type for property | |
16 FAIL Setting top to CSSUnitValue with value 12mm Failed to execute 'set' on 'Sty
lePropertyMap': Invalid type for property | |
17 FAIL Setting top to CSSUnitValue with value 13in Failed to execute 'set' on 'Sty
lePropertyMap': Invalid type for property | |
18 FAIL Setting top to CSSUnitValue with value 14pc Failed to execute 'set' on 'Sty
lePropertyMap': Invalid type for property | |
19 FAIL Setting top to CSSUnitValue with value 15pt Failed to execute 'set' on 'Sty
lePropertyMap': Invalid type for property | |
20 PASS Setting top to invalid value CSSUnitValue "1" throws | |
21 PASS Setting top to invalid value null throws | |
22 PASS Setting top to invalid value undefined throws | |
23 PASS Setting top to invalid value true throws | |
24 PASS Setting top to invalid value false throws | |
25 PASS Setting top to invalid value 1 throws | |
26 PASS Setting top to invalid value hello throws | |
27 PASS Setting top to invalid value [object Object] throws | |
28 PASS Setting top to invalid value CSSKeywordValue "notAKeyword" throws | |
29 PASS Getting top when it is set to auto | |
30 PASS Getting top when it is set to initial | |
31 PASS Getting top when it is set to inherit | |
32 PASS Getting top when it is set to unset | |
33 FAIL Getting top with a CSSUnitValue whose value is 1px assert_equals: typeof re
sult expected "CSSUnitValue" but got "CSSStyleValue" | |
34 FAIL Getting top with a CSSUnitValue whose value is 3em assert_equals: typeof re
sult expected "CSSUnitValue" but got "CSSStyleValue" | |
35 FAIL Getting top with a CSSUnitValue whose value is 4ex assert_equals: typeof re
sult expected "CSSUnitValue" but got "CSSStyleValue" | |
36 FAIL Getting top with a CSSUnitValue whose value is 5ch assert_equals: typeof re
sult expected "CSSUnitValue" but got "CSSStyleValue" | |
37 FAIL Getting top with a CSSUnitValue whose value is 6rem assert_equals: typeof r
esult expected "CSSUnitValue" but got "CSSStyleValue" | |
38 FAIL Getting top with a CSSUnitValue whose value is 7vw assert_equals: typeof re
sult expected "CSSUnitValue" but got "CSSStyleValue" | |
39 FAIL Getting top with a CSSUnitValue whose value is 8vh assert_equals: typeof re
sult expected "CSSUnitValue" but got "CSSStyleValue" | |
40 FAIL Getting top with a CSSUnitValue whose value is 9vmin assert_equals: typeof
result expected "CSSUnitValue" but got "CSSStyleValue" | |
41 FAIL Getting top with a CSSUnitValue whose value is 10vmax assert_equals: typeof
result expected "CSSUnitValue" but got "CSSStyleValue" | |
42 FAIL Getting top with a CSSUnitValue whose value is 11cm assert_equals: typeof r
esult expected "CSSUnitValue" but got "CSSStyleValue" | |
43 FAIL Getting top with a CSSUnitValue whose value is 12mm assert_equals: typeof r
esult expected "CSSUnitValue" but got "CSSStyleValue" | |
44 FAIL Getting top with a CSSUnitValue whose value is 13in assert_equals: typeof r
esult expected "CSSUnitValue" but got "CSSStyleValue" | |
45 FAIL Getting top with a CSSUnitValue whose value is 14pc assert_equals: typeof r
esult expected "CSSUnitValue" but got "CSSStyleValue" | |
46 FAIL Getting top with a CSSUnitValue whose value is 15pt assert_equals: typeof r
esult expected "CSSUnitValue" but got "CSSStyleValue" | |
47 FAIL getAll for single-valued top assert_equals: Returned type is incorrect: exp
ected "CSSUnitValue" but got "CSSStyleValue" | |
48 PASS Delete top removes the value from the styleMap | |
49 FAIL top shows up in getProperties Failed to execute 'set' on 'StylePropertyMap'
: Invalid type for property | |
50 PASS Setting top to a sequence throws | |
51 PASS Appending to top throws | |
52 Harness: the test ran to completion. | |
53 | |
OLD | NEW |