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

Unified Diff: LayoutTests/fast/text-autosizing/clusters-sufficient-width-expected.html

Issue 16019004: Text Autosizing: Treat position:absolute/fixed as constrained height. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/clusters-sufficient-width-expected.html
diff --git a/LayoutTests/fast/text-autosizing/clusters-sufficient-width-expected.html b/LayoutTests/fast/text-autosizing/clusters-sufficient-width-expected.html
index e5df03fbce18ed281c7e11d58950c35356ddb5cd..68d04da3ae3a07ded7fe2d6172bee0bfa00b6c44 100644
--- a/LayoutTests/fast/text-autosizing/clusters-sufficient-width-expected.html
+++ b/LayoutTests/fast/text-autosizing/clusters-sufficient-width-expected.html
@@ -11,7 +11,7 @@ body { width: 800px; margin: 0; overflow-y: hidden; }
</head>
<body>
-<div style="position: absolute; width: 400px; font-size: 20px">
+<div style="position: absolute; overflow: auto; width: 400px; font-size: 20px">
This text should be autosized to 20px computed font size (16 * 400/320), since the position:absolute causes this to be a new cluster.
</div>

Powered by Google App Engine
This is Rietveld 408576698