blob: e553ae3f5fc2c27f7b5c62b77a01055327036728 [file] [log] [blame]
1 2 3 4 5 6 7 8 9 10
Bug 15823: getPropertyValue for border returns null, should compute the shorthand value
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS div1.style.getPropertyValue("border") is '5px solid green'
PASS div2.style.getPropertyValue("border") is ''
PASS div2.style.getPropertyValue("border-color") is 'green blue purple red'
PASS div2.style.getPropertyValue("border-style") is 'solid'
PASS div2.style.getPropertyValue("border-width") is '5px'
PASS div3.style.getPropertyValue("border") is ''
PASS div3.style.getPropertyValue("border-color") is 'green'
PASS div3.style.getPropertyValue("border-style") is 'solid dotted groove dashed'
PASS div3.style.getPropertyValue("border-width") is '5px'
PASS div4.style.getPropertyValue("border") is ''
PASS div4.style.getPropertyValue("border-color") is 'green'
PASS div4.style.getPropertyValue("border-style") is 'solid'
PASS div4.style.getPropertyValue("border-width") is '5px 5px 5px 4px'
PASS div5.style.getPropertyValue("border") is ''
PASS div5.style.getPropertyValue("border-color") is 'green'
PASS div5.style.getPropertyValue("border-style") is 'solid dotted groove dashed'
PASS div5.style.getPropertyValue("border-width") is '3px 4px 5px 2px'
PASS div6.style.getPropertyValue("border") is ''
PASS div6.style.getPropertyValue("border-color") is 'green blue purple red'
PASS div6.style.getPropertyValue("border-style") is 'solid dotted groove dashed'
PASS div6.style.getPropertyValue("border-width") is '5px'
PASS div7.style.getPropertyValue("border") is ''
PASS div7.style.getPropertyValue("border-color") is 'green blue purple red'
PASS div7.style.getPropertyValue("border-style") is 'solid'
PASS div7.style.getPropertyValue("border-width") is '3px 4px 5px 2px'
PASS div8.style.getPropertyValue("border") is ''
PASS div8.style.getPropertyValue("border-color") is 'green blue purple red'
PASS div8.style.getPropertyValue("border-style") is 'solid dotted groove dashed'
PASS div8.style.getPropertyValue("border-width") is '3px 5px 5px 2px'
PASS div9.style.getPropertyValue("border") is ''
PASS div9.style.getPropertyValue("border-color") is ''
PASS div9.style.getPropertyValue("border-style") is ''
PASS div9.style.getPropertyValue("border-width") is ''
PASS div10.style.getPropertyValue("border") is '5px solid green'
PASS div10.style.getPropertyValue("border-color") is 'green'
PASS div10.style.getPropertyValue("border-style") is 'solid'
PASS div10.style.getPropertyValue("border-width") is '5px'
PASS successfullyParsed is true
TEST COMPLETE