Align placeholder element and inner-editor element at their baselines.
We aligned them at their top position. It was incorrect in some cases.
- We reset line-height of inner-editor element in some cases, but never reset
line-height of placeholder.
- Even if their font settings are identical, box heights can be different if the
specified font doesn't cover all of characters and another font is used.
This problem happened frequently after crrev.com/369975 because we don't limit the
inner-editor height since it.
BUG=178032,569869,579381
Review URL: https://codereview.chromium.org/1616553004
Cr-Commit-Position: refs/heads/master@{#370642}
5 files changed