upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 19087.html
1 <head>
2 <script>
3 function runTest() {
4     if (window.layoutTestController)
5         window.layoutTestController.dumpAsText();
6     start = document.getElementById("start");
7     end = document.getElementById("end");
8     window.getSelection().setBaseAndExtent(start, 0, end, 0);
9     document.execCommand("Indent");
10 }
11 </script>
12 </head>
13 <body onLoad="runTest();" contenteditable="true" style="text-align: justify">
14     <div id="description">This tests for a crash when indenting a particular selection that contains a block nested in an inline element that contains an hr.  It should not crash.</div>
15     <blockquote id="start" class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
16         <h5>
17             <span class="Apple-style-span" style="font-size: 16px;">
18                 <hr style="text-align: right;">
19                 <div style="text-align: right;">
20                     <br>
21                 </div>
22             </span>
23         </h5>
24     </blockquote>
25     <div id="end">
26         <br>
27     </div>
28 </body>