OLD | NEW |
1 This test ensures border shorthand property initializes longhand properties such
as border-top-style and border-right-color. | 1 This test ensures border shorthand property initializes longhand properties such
as border-top-style and border-right-color. |
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 div.setAttribute('style', 'border: 1px');div.style.borderTopStyle is 'initi
al' | 6 PASS div.setAttribute('style', 'border: 1px');div.style.borderTopStyle is 'none' |
7 PASS div.style.borderTopStyle is 'initial' | 7 PASS div.style.borderTopStyle is 'none' |
8 PASS div.style.borderRightStyle is 'initial' | 8 PASS div.style.borderRightStyle is 'none' |
9 PASS div.style.borderBottomStyle is 'initial' | 9 PASS div.style.borderBottomStyle is 'none' |
10 PASS div.style.borderLeftStyle is 'initial' | 10 PASS div.style.borderLeftStyle is 'none' |
11 PASS div.style.borderTopColor is 'initial' | 11 PASS div.style.borderTopColor is 'currentcolor' |
12 PASS div.style.borderRightColor is 'initial' | 12 PASS div.style.borderRightColor is 'currentcolor' |
13 PASS div.style.borderBottomColor is 'initial' | 13 PASS div.style.borderBottomColor is 'currentcolor' |
14 PASS div.style.borderLeftColor is 'initial' | 14 PASS div.style.borderLeftColor is 'currentcolor' |
15 PASS div.setAttribute('style', 'border: solid');div.style.borderTopWidth is 'ini
tial' | 15 PASS div.setAttribute('style', 'border: solid');div.style.borderTopWidth is 'med
ium' |
16 PASS div.style.borderRightWidth is 'initial' | 16 PASS div.style.borderRightWidth is 'medium' |
17 PASS div.style.borderBottomWidth is 'initial' | 17 PASS div.style.borderBottomWidth is 'medium' |
18 PASS div.style.borderLeftWidth is 'initial' | 18 PASS div.style.borderLeftWidth is 'medium' |
19 PASS successfullyParsed is true | 19 PASS successfullyParsed is true |
20 | 20 |
21 TEST COMPLETE | 21 TEST COMPLETE |
22 | 22 |
OLD | NEW |