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

Unified Diff: LayoutTests/fast/text-autosizing/clusters-sufficient-width.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.html
diff --git a/LayoutTests/fast/text-autosizing/clusters-sufficient-width.html b/LayoutTests/fast/text-autosizing/clusters-sufficient-width.html
index eefba64e6478ee7e4fd27d3f45ba99dad4e38fda..6e2ffb83580b3b2a07b8358f4fd0a097934c5415 100644
--- a/LayoutTests/fast/text-autosizing/clusters-sufficient-width.html
+++ b/LayoutTests/fast/text-autosizing/clusters-sufficient-width.html
@@ -20,7 +20,7 @@ if (window.internals) {
</head>
<body>
-<div style="position: absolute; width: 400px">
+<div style="position: absolute; overflow: auto; width: 400px">
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