Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: LayoutTests/fast/text/whitespace/nbsp-mode-and-linewraps.html

Issue 249723003: Remove main frame overflow from some non-scrollbar tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Windows expectations Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <style> 4 <style>
5 body { overflow: hidden; }
5 .editing { 6 .editing {
6 border: 2px solid red; 7 border: 2px solid red;
7 padding: 12px; 8 padding: 12px;
8 font-size: 24px; 9 font-size: 24px;
9 } 10 }
10 </style> 11 </style>
11 12
12 <title>-webkit-nbsp-mode and linewraps</title> 13 <title>-webkit-nbsp-mode and linewraps</title>
13 </head> 14 </head>
14 <body id="root"> 15 <body id="root">
15 <div class="editing" style="position:absolute; left: 100px; -webkit-nbsp-mode: s pace;"> 16 <div class="editing" style="position:absolute; left: 100px; -webkit-nbsp-mode: s pace;">
16 This div is absolutely positioned to the left. All the spaces in this div are re placed with non-breaking spaces, and the nbsp-mode for this div is 'space', so w hen 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 re ndered in two lines, and a horizontal scroll bar will appear along the bottom. 17 This div is absolutely positioned to the left. All the spaces in this div are re placed with non-breaking spaces, and the nbsp-mode for this div is 'space', so w hen 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 re ndered in two lines, and a horizontal scroll bar will appear along the bottom.
17 </div> 18 </div>
18 19
19 </body> 20 </body>
20 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/wbr.html ('k') | LayoutTests/fast/transforms/rotated-transform-affects-scrolling-1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698