[WK2] Small Caps font variant issue for Italic fonts
[framework/web/webkit-efl.git] / LayoutTests / editing / style / temporary-span-crash.html
1 <style>
2 span { display: none }
3 </style>
4 <script>
5 if (window.testRunner)
6     testRunner.dumpAsText();
7 </script>
8 <body contenteditable>
9 <p>Editing code creates temporary SPANs in some situations. Check we don't crash if we have style span { display: none }
10 <p>
11 <b id=b>select me fully </b><i id=i>select me partially ----------</i>
12 <script>
13 var selection = window.getSelection();
14 var b = document.getElementById('b');
15 var i = document.getElementById('i');
16 selection.setBaseAndExtent(b, 0, i.firstChild, 20);
17 document.execCommand("Delete");
18 </script>
19 </body>