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

Unified Diff: LayoutTests/fast/text-autosizing/clusters-insufficient-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-insufficient-width.html
diff --git a/LayoutTests/fast/text-autosizing/clusters-insufficient-width.html b/LayoutTests/fast/text-autosizing/clusters-insufficient-width.html
index 64d5d35eeac4353e355a86abacca8c1ef7ec364f..545eb91a58d615a858437b607eceb13d4ba3bc82 100644
--- a/LayoutTests/fast/text-autosizing/clusters-insufficient-width.html
+++ b/LayoutTests/fast/text-autosizing/clusters-insufficient-width.html
@@ -20,7 +20,7 @@ if (window.internals) {
</head>
<body>
-<div style="position: absolute; width: 320px">
+<div style="position: absolute; overflow: auto; width: 320px">
This text should not be autosized (its computed font size should remain 16px), since the position:absolute causes this to be a new cluster, and this cluster isn't wide enough.
</div>

Powered by Google App Engine
This is Rietveld 408576698