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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControl.cpp

Issue 2478483003: Ignore the percentage value to calculate the logical height of input control
Patch Set: fix test fails Created 3 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: third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
index 29f941b8cf885f87093076f0960296b85ecc048a..1105031b58af008f55be93261923e39b70a3c45d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
@@ -121,8 +121,7 @@ void LayoutTextControl::computeLogicalHeight(
LayoutUnit nonContentHeight = innerEditorBox->borderAndPaddingHeight() +
innerEditorBox->marginHeight();
logicalHeight = computeControlLogicalHeight(
- innerEditorBox->lineHeight(true, HorizontalLine,
- PositionOfInteriorLineBoxes),
+ lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes),
nonContentHeight);
// We are able to have a horizontal scrollbar if the overflow style is

Powered by Google App Engine
This is Rietveld 408576698