blob: c83b43af93603075f51cea91b80e674a5456f61f [file] [log] [blame]
<!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>