OLD | NEW |
1 This test checks that style.borderSpacing returns the correct result for valid,
negative, and missing border-spacing values. | 1 This test checks that style.borderSpacing returns the correct result for valid,
negative, and missing border-spacing values. |
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 successfullyParsed is true |
| 7 |
| 8 TEST COMPLETE |
6 Valid values: | 9 Valid values: |
7 PASS document.getElementById("infer-vertical-border-spacing").style.borderSpacin
g is "4px" | 10 PASS document.getElementById("infer-vertical-border-spacing").style.borderSpacin
g is "4px" |
8 PASS document.getElementById("explicit-border-spacing").style.borderSpacing is "
4px 5px" | 11 PASS document.getElementById("explicit-border-spacing").style.borderSpacing is "
4px 5px" |
9 PASS computedStyle(document.getElementById("computed-infer-vertical-border-spaci
ng")).borderSpacing is "11px 11px" | 12 PASS computedStyle(document.getElementById("computed-infer-vertical-border-spaci
ng")).borderSpacing is "11px 11px" |
10 PASS cssRule("#computed-infer-vertical-border-spacing").style.borderSpacing is "
11px" | 13 PASS cssRule("#computed-infer-vertical-border-spacing").style.borderSpacing is "
11px" |
11 PASS computedStyle(document.getElementById("computed-explicit-border-spacing")).
borderSpacing is "13px 23px" | 14 PASS computedStyle(document.getElementById("computed-explicit-border-spacing")).
borderSpacing is "13px 23px" |
12 PASS cssRule("#computed-explicit-border-spacing").style.borderSpacing is "13px 2
3px" | 15 PASS cssRule("#computed-explicit-border-spacing").style.borderSpacing is "13px 2
3px" |
13 | 16 |
14 Negative values: | 17 Negative values: |
15 PASS document.getElementById("infer-vertical-border-spacing-from-negative-horizo
ntal-spacing").style.borderSpacing is "" | 18 PASS document.getElementById("infer-vertical-border-spacing-from-negative-horizo
ntal-spacing").style.borderSpacing is "" |
16 PASS document.getElementById("explicit-negative-border-spacing").style.borderSpa
cing is "" | 19 PASS document.getElementById("explicit-negative-border-spacing").style.borderSpa
cing is "" |
17 PASS document.getElementById("explicit-border-spacing-with-negative-horizontal")
.style.borderSpacing is "" | 20 PASS document.getElementById("explicit-border-spacing-with-negative-horizontal")
.style.borderSpacing is "" |
18 PASS document.getElementById("explicit-border-spacing-with-negative-vertical").s
tyle.borderSpacing is "" | 21 PASS document.getElementById("explicit-border-spacing-with-negative-vertical").s
tyle.borderSpacing is "" |
19 PASS cssRule("#computed-infer-vertical-border-spacing-from-negative-horizontal-b
order-spacing").style.borderSpacing is "" | 22 PASS cssRule("#computed-infer-vertical-border-spacing-from-negative-horizontal-b
order-spacing").style.borderSpacing is "" |
20 PASS cssRule("#computed-explicit-negative-border-spacing").style.borderSpacing i
s "" | 23 PASS cssRule("#computed-explicit-negative-border-spacing").style.borderSpacing i
s "" |
21 PASS cssRule("#computed-explicit-border-spacing-with-negative-horizontal").style
.borderSpacing is "" | 24 PASS cssRule("#computed-explicit-border-spacing-with-negative-horizontal").style
.borderSpacing is "" |
22 PASS cssRule("#computed-explicit-border-spacing-with-negative-vertical").style.b
orderSpacing is "" | 25 PASS cssRule("#computed-explicit-border-spacing-with-negative-vertical").style.b
orderSpacing is "" |
23 | 26 |
24 Missing values: | 27 Missing values: |
25 PASS document.getElementById("missing-border-spacing").style.borderSpacing is "" | 28 PASS document.getElementById("missing-border-spacing").style.borderSpacing is "" |
26 PASS cssRule("#missing-stylesheet-border-spacing").style.borderSpacing is "" | 29 PASS cssRule("#missing-stylesheet-border-spacing").style.borderSpacing is "" |
27 | 30 |
28 TEST COMPLETE | 31 TEST COMPLETE |
29 PASS successfullyParsed is true | |
30 | 32 |
31 TEST COMPLETE | |
32 | |
OLD | NEW |