Regression(r188105): Seems to have caused crashes during PLT on some iPads
[WebKit-https.git] / LayoutTests / fast / css / border-spacing-without-vertical-value.html
1 <!DOCTYPE html>
2 <body>
3 <p>This tests obtaining the value of "border-spacing" property without setting -webkit-border-vertical-spacing.
4 WebKit should not crash and we should get null.</p>
5 <script type="text/javascript">
6
7 if (window.testRunner)
8     testRunner.dumpAsText();
9
10 var a = document.createElement("a");
11 a.setAttribute("style", "-webkit-border-horizontal-spacing: 1px;");
12
13 var borderSpacing = a.style.getPropertyValue('border-spacing');
14 if (borderSpacing !== "")
15     document.write('FAIL. WebKit didn\'t crash but got "' + borderSpacing + '" but expected "".');
16 else
17     document.write("PASS. WebKit didn't crash.");
18
19 </script>