Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text / delete-hard-break-character.html
1 <html>
2 <head>
3     <title></title>
4 </head>
5 <body>
6     <p>
7         Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=10144">http://bugs.webkit.org/show_bug.cgi?id=10144</a>
8         REGRESSION: Reproducible assertion failure in DeleteSelectionCommand::fixupWhitespace()</i>.
9     </p>
10 <div id="you" style="height: 100px; white-space: pre-wrap; -webkit-user-modify: read-write;">
11
12 <br></div>
13     <script>
14         var div = document.getElementById("you");
15         var selection = window.getSelection();
16         selection.collapse(div, 2);
17         document.execCommand("Delete");
18     </script>
19 </body>