4 border:
10px solid red;
5 border-top-width:
50px;
8 <p>getPropertyValue('border') should not return a value for any property that doesn't have the same value for top, left, right and bottom, even if the values that differ are implicitly set by a shorthand.
13 if (window
.testRunner
)
14 testRunner
.dumpAsText();
15 var sheet
= document
.querySelector('style').sheet
;
16 var expected
= 'solid red';
17 var actual
= sheet
.cssRules
[0].style
.getPropertyValue('border');
19 if (expected
== actual
)
20 document
.getElementById('result').innerText
= 'PASS';
22 document
.getElementById('result').innerText
= 'FAIL: expected "' + expected
+ '", got "' + actual
+ '"';