summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/crash-clearSelection-collapsed-borders.html
blob: c44bd249deb37a10a5ecf67b734285d5eb241a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<table style="border-collapse: collapse">
    <td id=c0>
        <span>
            <a href="https://bugs.webkit.org/show_bug.cgi?id=95487">95487</a>: Crash in LayoutTable::calcBorderEnd<br/>
            This test has PASSED if it didn't crash.
        </span>
        </td>
    <td id=c1></td>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

var selection = window.getSelection();
selection.setBaseAndExtent(c0, 0, c1, 0);
c1.style.display = 'none';
</script>