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

Side by Side Diff: LayoutTests/fast/text-autosizing/narrow-descendants-combined-expected.html

Issue 12317102: Merge 143318 (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; 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="font-size: 1.25rem"> 14 <div style="font-size: 1.25rem">
15 <div style="width: 240px">
16 This text should be autosized to 20px computed font-size as it is combin ed with the next and the last narrow siblings and the maximum width is 400px.
17 </div>
15 <div style="width: 320px"> 18 <div style="width: 320px">
16 This text should be autosized to 20px computed font-size as it is combin ed with its narrow siblings and the maximum width is 400px. 19 This text should be autosized to 20px computed font-size as it is combin ed with the first and the last narrow siblings and the maximum width is 400px.
20 </div>
21 <div style="width: 560px; font-size: 1.75rem">
22 This text should be autosized to 28px computed font-size as it is combin ed into a separate group from its two siblings since it's significantly wider.<b r>
23 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
17 </div> 24 </div>
18 <div style="width: 400px"> 25 <div style="width: 400px">
19 This text should be autosized to 20px computed font-size as it is combin ed with its narrow siblings and the maximum width is 400px. 26 This text should be autosized to 20px computed font-size as it is combin ed with the first and the second narrow siblings and the maximum width is 400px. <br>
20 </div> 27 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
21 <div style="width: 240px">
22 This text should be autosized to 20px computed font-size as it is combin ed with its narrow siblings and the maximum width is 400px.
23 </div> 28 </div>
24 </div> 29 </div>
25 30
26 </body> 31 </body>
27 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text-autosizing/narrow-descendants-combined.html ('k') | Source/WebCore/rendering/TextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698