[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / multicol / gap-non-negative.html
1 <p>
2     Test for <i><a href="rdar://problem/5962118">rdar://problem/5962118</a> Crash in RenderBlock::calcColumnWidth()</i>.
3 </p>
4 <p>
5     This tests that the <tt>column-gap</tt> property does not allow negative values.
6 </p>
7 <p id = "result"></p>
8 <div id="target" style="-webkit-column-count: 4; -webkit-column-gap: -10px;"></div>
9 <script>
10     if (window.layoutTestController)
11         layoutTestController.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>