Descriptioninput's placeholder is inconsistently laid out
The issue was that the code relies on overriding the placeholder's
style's logical height. However the logic wasn't tight and we would
miss some cases (where styleDidChange cleared the overriden style
and layout would not know about it), thus not relaying out the
placeholder when we should have. This situation turned layout
into a 2-states state machine.
This fix removes the hackish style's logical height override and
use the override logical height machinery for fun and profit.
BUG=529252
Committed: https://crrev.com/2036c7d6d5438beefe656aa67d1d90af166f0960
Cr-Commit-Position: refs/heads/master@{#363324}
Patch Set 1 #
Total comments: 9
Patch Set 2 : Updated after Morten's review! #Patch Set 3 : Added some extra NeedsRebaseline test expectations. #
Total comments: 2
Patch Set 4 : Upgraded the test to js-test.js for real! #Messages
Total messages: 19 (8 generated)
|