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

Issue 2889693008: DevTools: fix popover's account for scrollbar size when measuring content (Closed)

Created:
3 years, 7 months ago by luoe
Modified:
3 years, 7 months ago
Reviewers:
einbinder, dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: fix popover's account for scrollbar size when measuring content When calculating the size of a popover with SizeBehavior == MeasureContent, positioning logic accounts for either a vertical scrollbar or a horizontal one, but not both. This led to cases where GlassPane allocated enough width, but not enough height for wide content (e.g. hovering over a long string when paused). This CL adjusts the constrained popover width/height for scrollbar size in both directions. BUG=722899 Review-Url: https://codereview.chromium.org/2889693008 Cr-Commit-Position: refs/heads/master@{#473499} Committed: https://chromium.googlesource.com/chromium/src/+/7856682b892241cb9263140c56554880633b8d84

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -14 lines) Patch
M third_party/WebKit/Source/devtools/front_end/ui/GlassPane.js View 5 chunks +6 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
luoe
Please take a look. While this CL changes positioning, anchor behavior, and size, only popovers ...
3 years, 7 months ago (2017-05-18 20:11:49 UTC) #3
dgozman
lgtm
3 years, 7 months ago (2017-05-18 22:02:17 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/2889693008/1
3 years, 7 months ago (2017-05-21 21:49:18 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/460850)
3 years, 7 months ago (2017-05-21 23:13:28 UTC) #8
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/2889693008/1
3 years, 7 months ago (2017-05-22 02:39:19 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 03:46:40 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/7856682b892241cb9263140c5655...

Powered by Google App Engine
This is Rietveld 408576698