OLD | NEW |
| (Empty) |
1 <p> | |
2 Test for <i><a href="rdar://problem/5962118">rdar://problem/5962118</a> Cras
h in RenderBlock::calcColumnWidth()</i>. | |
3 </p> | |
4 <p> | |
5 This tests that the <tt>column-gap</tt> property does not allow negative val
ues. | |
6 </p> | |
7 <p id = "result"></p> | |
8 <div id="target" style="-webkit-column-count: 4; -webkit-column-gap: -10px;"></d
iv> | |
9 <script> | |
10 if (window.testRunner) | |
11 testRunner.dumpAsText(); | |
12 | |
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; | |
16 </script> | |
OLD | NEW |