Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text / whitespace / nbsp-mode-and-linewraps.html
1 <html> 
2 <head>
3
4 <style>
5 body { overflow: hidden; }
6 .editing {
7     border: 2px solid red;
8     padding: 12px;
9     font-size: 24px;
10 }
11 </style>
12
13 <title>-webkit-nbsp-mode and linewraps</title> 
14 </head> 
15 <body id="root">
16 <div class="editing" style="position:absolute; left: 100px; -webkit-nbsp-mode: space;">
17 This div is absolutely positioned to the left. All the spaces in this div are replaced with non-breaking spaces, and the nbsp-mode for this div is 'space', so when calculating line breaks, the non-breaking spaces should be treated as normal spaces. If this isn't the case, then all the text for this paragraph will be rendered in two lines, and a horizontal scroll bar will appear along the bottom.
18 </div>
19
20 </body>
21 </html>