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

Issue 2055593002: Reserve enough vertical space for the menuList layout element setting its logical height to the max… (Closed)

Created:
4 years, 6 months ago by Gleb Lanbin
Modified:
4 years, 6 months ago
Reviewers:
tkent, eae
CC:
apavlov+blink_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, eae+blinkwatch, jchaffraix+rendering, kozyatinskiy+blink_chromium.org, leviw+renderwatch, lushnikov+blink_chromium.org, pdr+renderingwatchlist_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reserve enough vertical space for the menuList layout element setting its logical height to the max option height. The option's height is calculated from option's text FloatRect generated by CachingWordShaper. BUG=484632 TEST=fast/forms/select/menulist-height-change.html Committed: https://crrev.com/4681903723a0df535a60069ec9f7d6ea21fe69d0 Cr-Commit-Position: refs/heads/master@{#399293}

Patch Set 1 : #

Patch Set 2 : Updated TestExpectations #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : NeedsManualRebaseline #

Total comments: 1

Messages

Total messages: 34 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2055593002/20001
4 years, 6 months ago (2016-06-08 23:02:08 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/241450)
4 years, 6 months ago (2016-06-08 23:52:39 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2055593002/40001
4 years, 6 months ago (2016-06-08 23:59:02 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/243628)
4 years, 6 months ago (2016-06-09 01:28:36 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2055593002/60001
4 years, 6 months ago (2016-06-09 03:18:59 UTC) #12
Gleb Lanbin
4 years, 6 months ago (2016-06-09 03:21:15 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/236072)
4 years, 6 months ago (2016-06-09 05:28:39 UTC) #16
eae
This looks great. Please include a TEST= line in the CL description, like this: TEST=fast/forms/select/menulist-height-change.html ...
4 years, 6 months ago (2016-06-09 06:50:59 UTC) #17
Gleb Lanbin
Thanks for the review. https://codereview.chromium.org/2055593002/diff/60001/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp File third_party/WebKit/Source/core/layout/LayoutMenuList.cpp (right): https://codereview.chromium.org/2055593002/diff/60001/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp#newcode173 third_party/WebKit/Source/core/layout/LayoutMenuList.cpp:173: const ComputedStyle* itemStyle = element->computedStyle() ...
4 years, 6 months ago (2016-06-09 21:08:49 UTC) #19
eae
LGTM Thanks for the clarification.
4 years, 6 months ago (2016-06-10 06:15:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2055593002/100001
4 years, 6 months ago (2016-06-10 16:40:00 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237173)
4 years, 6 months ago (2016-06-10 20:52:19 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2055593002/100001
4 years, 6 months ago (2016-06-10 21:08:27 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 6 months ago (2016-06-10 22:15:30 UTC) #29
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4681903723a0df535a60069ec9f7d6ea21fe69d0 Cr-Commit-Position: refs/heads/master@{#399293}
4 years, 6 months ago (2016-06-10 22:17:12 UTC) #31
drott
Nice! Thank you, great to see this fixed.
4 years, 6 months ago (2016-06-13 07:29:12 UTC) #32
tkent
4 years, 6 months ago (2016-06-20 23:57:19 UTC) #34
Message was sent while issue was closed.
https://codereview.chromium.org/2055593002/diff/100001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/layout/LayoutMenuList.cpp (right):

https://codereview.chromium.org/2055593002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/layout/LayoutMenuList.cpp:341: +
LayoutUnit(cInnerBlockVerticalPaddingEm * style()->computedFontSize());
Do we really need to add this?
I'm afraid this caused a regression.  crbug.com/620613

Powered by Google App Engine
This is Rietveld 408576698