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

Issue 2086663007: Use fixed logical height in LayoutMenuList (Closed)

Created:
4 years, 5 months ago by Gleb Lanbin
Modified:
4 years, 4 months ago
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use 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)
Gleb Lanbin
4 years, 5 months ago (2016-06-23 17:36:15 UTC) #3
eae
OK, LGTM
4 years, 5 months ago (2016-06-27 15:59:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2086663007/1
4 years, 5 months ago (2016-06-27 16:00:19 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-27 17:22:00 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c2a23354aee0beef71541680def441d025dc37b9 Cr-Commit-Position: refs/heads/master@{#402211}
4 years, 5 months ago (2016-06-27 17:23:17 UTC) #10
mstensho (USE GERRIT)
4 years, 4 months ago (2016-08-18 08:46:54 UTC) #12
Message was sent while issue was closed.
In the future, could you please wrap lines in commit messages a little?

---------
The first line in the commit message should be a brief description.

After a blank line, add as much explanation as necessary, but be sure
to wrap lines. I think the norm is to wrap before you reach 80
characters on a line, or even a few characters before that.

Thank you! :)
----------

Powered by Google App Engine
This is Rietveld 408576698