<body style="-webkit-writing-mode:vertical-rl">
<p>
Test for <i><a href="rdar://problem/5962118">rdar://problem/5962118</a> Crash in LayoutBlockFlow::calcColumnWidth()</i>.
</p>
<p>
This tests that the <tt>column-gap</tt> property does not allow negative values.
</p>
<p id = "result"></p>
<div id="target" style="-webkit-column-count: 4; -webkit-column-gap: -10px;"></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var style = getComputedStyle(document.getElementById("target"));
var columnGap = style.getPropertyValue("-webkit-column-gap");
document.getElementById("result").innerText = (columnGap == "0" || columnGap == "normal") ? "PASS" : "FAIL: column-gap is " + columnGap;
</script>