Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / border-spacing-without-vertical-value.html
blobc83b43af93603075f51cea91b80e674a5456f61f
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">
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 var a = document.createElement("a");
11 a.setAttribute("style", "-webkit-border-horizontal-spacing: 1px;");
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.");
19 </script>