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

Side by Side Diff: LayoutTests/fast/text-autosizing/cluster-narrow-in-wide-ohidden-expected.html

Issue 11864024: Merge 139435 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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; overflow-y: hidden; } 8 body { width: 800px; margin: 0; overflow-y: hidden; }
9 </style> 9 </style>
10 10
11 </head> 11 </head>
12 <body> 12 <body>
13 13
14 <div style="width: 400px; overflow: hidden; font-size: 2.5rem"> 14 <div style="width: 600px; overflow: hidden; font-size: 2.5rem">
15 This text should be autosized to 40px computed font size (16 * 800/320), sin ce the overflow:hidden does not cause this to be a new cluster, so it is part of the 800px wide root cluster. 15 This text should be autosized to 40px computed font size (16 * 800/320), sin ce the overflow:hidden does not cause this to be a new cluster, so it is part of the 800px wide root cluster.
16 </div> 16 </div>
17 17
18 <div style="font-size: 2.5rem"> 18 <div style="font-size: 2.5rem">
19 This text should similarly be autosized to 40px.<br> 19 This text should similarly be autosized to 40px.<br>
20 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tem por incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis n ostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Dui s aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fug iat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culp a qui officia deserunt mollit anim id est laborum. 20 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tem por incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis n ostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Dui s aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fug iat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culp a qui officia deserunt mollit anim id est laborum.
21 </div> 21 </div>
22 22
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698