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

Issue 2422413002: DevTools: popovers use padding instead of margin (Closed)

Created:
4 years, 2 months ago by luoe
Modified:
4 years, 2 months ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, shans, rjwright, blink-reviews-animation_chromium.org, darktears, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, Eric Willigers, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: popovers use padding instead of margin The root cause of this issue is crbug.com/633602, which leads to cases when scrollbars are not removed from elements even though the content would fit. In our case, popovers with only one line of content will exhibit a scrollbar on certain zoom levels before we apply their correct width/height. By using padding instead of margins, the inner content has extra height and no scrollbar, even before its fixed width/height is applied. BUG=599214 Committed: https://crrev.com/35a2db47116994f527950d9bac81873a9661c096 Cr-Commit-Position: refs/heads/master@{#426348}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Popover.js View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SwatchPopoverHelper.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/popover.css View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
luoe
4 years, 2 months ago (2016-10-17 22:35:24 UTC) #4
lushnikov
lgtm, thanks!
4 years, 2 months ago (2016-10-18 22:23:10 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/2422413002/1
4 years, 2 months ago (2016-10-19 00:23:00 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/147768) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 2 months ago (2016-10-19 01:35:06 UTC) #12
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/2422413002/1
4 years, 2 months ago (2016-10-20 00:00:56 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-20 00:19:20 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:13:44 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/35a2db47116994f527950d9bac81873a9661c096
Cr-Commit-Position: refs/heads/master@{#426348}

Powered by Google App Engine
This is Rietveld 408576698