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