OLD | NEW |
| (Empty) |
1 <body style="-webkit-writing-mode:vertical-lr"> | |
2 <p> | |
3 Test for <i><a href="rdar://problem/5962118">rdar://problem/5962118</a> Cras
h in RenderBlock::calcColumnWidth()</i>. | |
4 </p> | |
5 <p> | |
6 This tests that the <tt>column-gap</tt> property does not allow negative val
ues. | |
7 </p> | |
8 <p id = "result"></p> | |
9 <div id="target" style="-webkit-column-count: 4; -webkit-column-gap: -10px;"></d
iv> | |
10 <script> | |
11 if (window.testRunner) | |
12 testRunner.dumpAsText(); | |
13 | |
14 var style = getComputedStyle(document.getElementById("target")); | |
15 var columnGap = style.getPropertyValue("-webkit-column-gap"); | |
16 document.getElementById("result").innerText = (columnGap == "0" || columnGap
== "normal") ? "PASS" : "FAIL: column-gap is " + columnGap; | |
17 </script> | |
OLD | NEW |