20 lines
634 B
HTML
20 lines
634 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<p>This tests obtaining the value of "border-spacing" property without setting -webkit-border-vertical-spacing.
|
|
WebKit should not crash and we should get null.</p>
|
|
<script type="text/javascript">
|
|
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
var a = document.createElement("a");
|
|
a.setAttribute("style", "-webkit-border-horizontal-spacing: 1px;");
|
|
|
|
var borderSpacing = a.style.getPropertyValue('border-spacing');
|
|
if (borderSpacing !== "")
|
|
document.write('FAIL. WebKit didn\'t crash but got "' + borderSpacing + '" but expected "".');
|
|
else
|
|
document.write("PASS. WebKit didn't crash.");
|
|
|
|
</script>
|