Chromium Code Reviews
DescriptionUse fixed logical height in LayoutMenuList based on style()->getFontMetrics().height(). That's consistent with the logic that is used to calculate height for other layout objects inherited from InlineBox.
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/line/InlineBox.cpp?rcl=0&l=150
This reverts the logic introduced in 4681903723a0df535a60069ec9f7d6ea21fe69d0 where LayoutMenuList logical height was based on the max option height. The reason for revert is that 1) the change broke many websites CSS as they rely on thee fixed height of HTML select element 2) Other browsers including Edge/IE use fixed HTML select's height.
TestExpectations is updated to mark all "NeedsRebaseline" tests as "NeedsManualRebaseline". They be deleted after 26c47e86c793250445a4b9c0464249fb29932768 rollback is landed.
BUG=484632
Committed: https://crrev.com/c2a23354aee0beef71541680def441d025dc37b9
Cr-Commit-Position: refs/heads/master@{#402211}
Patch Set 1 #Messages
Total messages: 12 (6 generated)
|