Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / destroy-cell-with-selection-crash.html
blob369090d9eb39270390559177f17485056c4dab6b
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4 </script>
5 Test doing display:none for a cell in table with selection. This passes if it does not crash.
6 <table style="border-collapse: collapse">
7 <td id=c0></td>
8 <td id=c1></td>
9 </table>
10 <script>
11 var c0 = document.getElementById('c0');
12 var c1 = document.getElementById('c1');
13 var selection = window.getSelection();
14 selection.setBaseAndExtent(c0, 0, c1, 0);
15 c1.style.display = 'none';
16 </script>