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

Unified Diff: Source/core/rendering/FastTextAutosizer.cpp

Issue 334333002: Allow form inputs to be potential cluster roots. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/FastTextAutosizer.cpp
diff --git a/Source/core/rendering/FastTextAutosizer.cpp b/Source/core/rendering/FastTextAutosizer.cpp
index 0844ee43687ab92a6dc40fea618cda23af81f61b..21c55e43c7f42f6755bc915c27278c377ccc7260 100644
--- a/Source/core/rendering/FastTextAutosizer.cpp
+++ b/Source/core/rendering/FastTextAutosizer.cpp
@@ -158,9 +158,6 @@ static bool isPotentialClusterRoot(const RenderObject* renderer)
return false;
if (renderer->isListItem())
return (renderer->isFloating() || renderer->isOutOfFlowPositioned());
- // Avoid creating containers for text within form input.
- if (isNonTextAreaFormControl(renderer->parent()))
- return false;
return true;
}
« no previous file with comments | « LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698