[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / text / whitespace / pre-wrap-spaces-after-newline.html
1 <style>
2     pre { white-space: pre-wrap; background: silver; width: 7ex; }
3 </style>
4 <p>
5     Test for
6     <i><a href="https://bugs.webkit.org/show_bug.cgi?id=7216">http://bugzilla.opendarwin.org/show_bug.cgi?id=7216</a>
7     white-space: pre-wrap collapses leading whitespace following a newline</i>.
8 </p>
9 <hr>
10 <p>Here <code>bar</code> should be right under <code>foo</code>:</p>
11 <pre>foo      bar</pre>
12 <p>Here <code>bar</code> should be on the right hand side of the second line:</p>
13 <pre>foo<br>   bar</pre>
14 <pre>foo    <br>   bar</pre>
15 <pre>foo
16    bar</pre>
17 <pre>foo 
18    bar</pre>
19 <pre>foo  
20    bar</pre>
21 <pre>foo   
22    bar</pre>
23 <pre>foo    
24    bar</pre>
25 <p>Here <code>bar</code> should be on the right hand side of the third line:</p>
26 <pre>foo<br>
27    bar</pre>
28 <pre>foo baz
29    bar</pre>