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

Side by Side Diff: LayoutTests/fast/text-autosizing/unwrappable-inlines-expected.html

Issue 12310107: Merge 143356 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 4
5 <meta name="viewport" content="width=800"> 5 <meta name="viewport" content="width=800">
6 <style> 6 <style>
7 html { font-size: 16px; } 7 html { font-size: 16px; }
8 body { width: 800px; margin: 0; } 8 body { width: 800px; margin: 0; overflow-y: hidden; }
9 pre { margin: 0; } 9 pre { margin: 0; }
10 </style> 10 </style>
11 11
12 </head> 12 </head>
13 <body> 13 <body>
14 14
15 <div> 15 <div>
16 <span style="white-space: pre; font-size: 2.5rem"> 16 <span style="white-space: pre; font-size: 2.5rem">
17 This text is expected be autosized to 40px computed font-size (16 * 800/320) , since Text Autosizing is not yet smart enough to detect that all the children of this div are unwrappable. Ideally it would not get autosized. 17 This text is expected be autosized to 40px computed font-size (16 * 800/320) , since Text Autosizing is not yet smart enough to detect that all the children of this div are unwrappable. Ideally it would not get autosized.
18 </span> 18 </span>
(...skipping 12 matching lines...) Expand all
31 </div> 31 </div>
32 32
33 <div> 33 <div>
34 <span style="font-size: 2.5rem"> 34 <span style="font-size: 2.5rem">
35 This text should be autosized to 40px computed font-size (16 * 800/320). 35 This text should be autosized to 40px computed font-size (16 * 800/320).
36 </span> 36 </span>
37 </div> 37 </div>
38 38
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text-autosizing/unwrappable-inlines.html ('k') | Source/WebCore/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698