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

Unified Diff: LayoutTests/fast/text-autosizing/wide-in-narrow-overflow-scroll.html

Issue 11859014: Merge 138111 (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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/text-autosizing/wide-in-narrow-overflow-scroll.html
===================================================================
--- LayoutTests/fast/text-autosizing/wide-in-narrow-overflow-scroll.html (revision 139472)
+++ LayoutTests/fast/text-autosizing/wide-in-narrow-overflow-scroll.html (working copy)
@@ -21,17 +21,17 @@
<body>
<div style="width: 400px">
- <div style="overflow-x: scroll">
- <div style="width: 800px">
- This text should be autosized to 20px computed font size (16 * 400/320), since this is part of the root cluster, whose text descendants are all contained within the 400px wide grandparent of this div.<br>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+ <div style="overflow-x: scroll">
+ <div style="width: 800px">
+ This text should be autosized to 40px computed font size (16 * 800/320) since it's wider than the lowest common ancestor of its enclosing cluster so it becomes a cluster itself.<br>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+ </div>
</div>
- </div>
- <div>
+ <div>
This text should be autosized to 20px computed font size (16 * 400/320).<br>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- </div>
+ </div>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698