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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/text-autosizing/narrow-descendants-combined-expected.html
===================================================================
--- LayoutTests/fast/text-autosizing/narrow-descendants-combined-expected.html (revision 143930)
+++ LayoutTests/fast/text-autosizing/narrow-descendants-combined-expected.html (working copy)
@@ -12,15 +12,20 @@
<body>
<div style="font-size: 1.25rem">
+ <div style="width: 240px">
+ This text should be autosized to 20px computed font-size as it is combined with the next and the last narrow siblings and the maximum width is 400px.
+ </div>
<div style="width: 320px">
- This text should be autosized to 20px computed font-size as it is combined with its narrow siblings and the maximum width is 400px.
+ This text should be autosized to 20px computed font-size as it is combined with the first and the last narrow siblings and the maximum width is 400px.
</div>
+ <div style="width: 560px; font-size: 1.75rem">
+ This text should be autosized to 28px computed font-size as it is combined into a separate group from its two siblings since it's significantly wider.<br>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+ </div>
<div style="width: 400px">
- This text should be autosized to 20px computed font-size as it is combined with its narrow siblings and the maximum width is 400px.
+ This text should be autosized to 20px computed font-size as it is combined with the first and the second narrow siblings and the maximum width is 400px.<br>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
- <div style="width: 240px">
- This text should be autosized to 20px computed font-size as it is combined with its narrow siblings and the maximum width is 400px.
- </div>
</div>
</body>
« 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