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

Issue 1255573004: Devtools UI: Update inspect element node description label UI (Closed)

Created:
5 years, 5 months ago by samli
Modified:
5 years, 4 months ago
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, yurys+blink_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Devtools UI: Update inspect element node description label UI This change updates the node description label to match updated tooltip UI. These labels have the following characteristics: - Default to above the anchor element - Centered above the anchor element - Clamped to the visible viewport (no change) - Non monospace font to improve text readibility - Removal of "px" in dimensions BUG=513066 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199732 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199956

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -74 lines) Patch
M Source/core/inspector/InspectorOverlayPage.html View 1 2 3 4 5 6 7 chunks +129 lines, -74 lines 0 comments Download

Messages

Total messages: 42 (7 generated)
samli
PTAL. Confirmed it looks fine on Mac/Linux since this doesn't use canvas. Screenshot: http://i.imgur.com/7YytX88.png
5 years, 5 months ago (2015-07-23 06:34:11 UTC) #2
pfeldman
On 2015/07/23 06:34:11, samli wrote: > PTAL. Confirmed it looks fine on Mac/Linux since this ...
5 years, 5 months ago (2015-07-23 20:49:54 UTC) #3
pbakaus
On 2015/07/23 at 20:49:54, pfeldman wrote: > On 2015/07/23 06:34:11, samli wrote: > > PTAL. ...
5 years, 5 months ago (2015-07-24 00:37:39 UTC) #4
samli
On 2015/07/24 at 00:37:39, pbakaus wrote: > On 2015/07/23 at 20:49:54, pfeldman wrote: > > ...
5 years, 5 months ago (2015-07-24 02:03:31 UTC) #5
maxwalker
Yup, arrows are helpful for the inspect-element label. LGTM
5 years, 5 months ago (2015-07-24 07:47:18 UTC) #6
dgozman
Played with this: - tooltip is now centered relative to margin box; what's the reason? ...
5 years, 5 months ago (2015-07-24 13:52:50 UTC) #7
dgozman
https://codereview.chromium.org/1255573004/diff/20001/Source/core/inspector/InspectorOverlayPage.html File Source/core/inspector/InspectorOverlayPage.html (right): https://codereview.chromium.org/1255573004/diff/20001/Source/core/inspector/InspectorOverlayPage.html#newcode419 Source/core/inspector/InspectorOverlayPage.html:419: document.getElementById("element-tooltip-arrow").style.visibility = "hidden"; Migrate to "hidden" class? https://codereview.chromium.org/1255573004/diff/20001/Source/core/inspector/InspectorOverlayPage.html#newcode431 Source/core/inspector/InspectorOverlayPage.html:431: ...
5 years, 5 months ago (2015-07-24 13:57:11 UTC) #8
samli
On 2015/07/24 at 13:52:50, dgozman wrote: > Played with this: > - tooltip is now ...
5 years, 4 months ago (2015-07-27 01:19:11 UTC) #9
samli
https://codereview.chromium.org/1255573004/diff/20001/Source/core/inspector/InspectorOverlayPage.html File Source/core/inspector/InspectorOverlayPage.html (right): https://codereview.chromium.org/1255573004/diff/20001/Source/core/inspector/InspectorOverlayPage.html#newcode419 Source/core/inspector/InspectorOverlayPage.html:419: document.getElementById("element-tooltip-arrow").style.visibility = "hidden"; On 2015/07/24 at 13:57:10, dgozman wrote: ...
5 years, 4 months ago (2015-07-27 01:19:20 UTC) #10
maxwalker
> Hard to notice it on dark-themed site - we should add something light there ...
5 years, 4 months ago (2015-07-27 13:10:52 UTC) #11
pfeldman
Do we need to add this much code to achieve this?
5 years, 4 months ago (2015-07-27 17:03:42 UTC) #12
pfeldman
Applied it again, posted screenshot along with the comments in the bug.
5 years, 4 months ago (2015-07-27 20:45:14 UTC) #13
paulirish
On 2015/07/27 at 17:03:42, pfeldman wrote: > Do we need to add this much code ...
5 years, 4 months ago (2015-07-28 23:20:52 UTC) #14
pfeldman
On 2015/07/28 23:20:52, paulirish wrote: > On 2015/07/27 at 17:03:42, pfeldman wrote: > > Do ...
5 years, 4 months ago (2015-07-28 23:38:07 UTC) #15
samli
On 2015/07/28 at 23:38:07, pfeldman wrote: > On 2015/07/28 23:20:52, paulirish wrote: > > On ...
5 years, 4 months ago (2015-07-28 23:53:46 UTC) #16
pbakaus
On 2015/07/28 at 23:38:07, pfeldman wrote: > On 2015/07/28 23:20:52, paulirish wrote: > > On ...
5 years, 4 months ago (2015-07-29 00:02:12 UTC) #17
pfeldman
> I think this is reason enough. > http://i.imgur.com/Mk7AZlc.png Well, that can be fixed with ...
5 years, 4 months ago (2015-07-29 00:54:49 UTC) #18
pfeldman
> Actually, I think it's super reasonable. All in favor of more CSS, and less ...
5 years, 4 months ago (2015-07-29 00:57:24 UTC) #19
samli
On 2015/07/29 at 00:57:24, pfeldman wrote: > > Actually, I think it's super reasonable. All ...
5 years, 4 months ago (2015-07-29 05:08:28 UTC) #20
samli
I've modified this to match Max's spec (https://goo.gl/AjmAjR) Screenshot: http://i.imgur.com/cd0SxBE.png
5 years, 4 months ago (2015-07-29 05:32:26 UTC) #21
pfeldman
Ok, if we are dropping the border, the code lgtm.
5 years, 4 months ago (2015-07-29 21:04:33 UTC) #23
paulirish
new shadow doesn't match the spec. i guess drop-shadow functions a bit differently. http://jsbin.com/duzubilife/edit?html,css,output
5 years, 4 months ago (2015-07-30 01:35:35 UTC) #24
samli
On 2015/07/30 at 01:35:35, paulirish wrote: > new shadow doesn't match the spec. i guess ...
5 years, 4 months ago (2015-07-30 03:12:30 UTC) #25
paulirish
> The second has box-shadow and drop-shadow, so they are not actually that different. Looks ...
5 years, 4 months ago (2015-07-30 03:31:13 UTC) #26
paulirish
https://codereview.chromium.org/1255573004/diff/60001/Source/core/inspector/InspectorOverlayPage.html File Source/core/inspector/InspectorOverlayPage.html (right): https://codereview.chromium.org/1255573004/diff/60001/Source/core/inspector/InspectorOverlayPage.html#newcode179 Source/core/inspector/InspectorOverlayPage.html:179: margin-left: 4px; I don't think we should add space ...
5 years, 4 months ago (2015-07-30 03:32:31 UTC) #28
samli
https://codereview.chromium.org/1255573004/diff/60001/Source/core/inspector/InspectorOverlayPage.html File Source/core/inspector/InspectorOverlayPage.html (right): https://codereview.chromium.org/1255573004/diff/60001/Source/core/inspector/InspectorOverlayPage.html#newcode179 Source/core/inspector/InspectorOverlayPage.html:179: margin-left: 4px; On 2015/07/30 at 03:32:30, paulirish wrote: > ...
5 years, 4 months ago (2015-07-30 03:38:29 UTC) #29
maxwalker
On 2015/07/30 at 03:32:30, paulirish wrote: > I don't think we should add space in ...
5 years, 4 months ago (2015-07-30 10:09:29 UTC) #30
dgozman
lgtm
5 years, 4 months ago (2015-07-30 11:54:34 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1255573004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1255573004/100001
5 years, 4 months ago (2015-07-30 12:02:49 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=199732
5 years, 4 months ago (2015-07-30 13:07:54 UTC) #35
pfeldman
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1259413003/ by pfeldman@chromium.org. ...
5 years, 4 months ago (2015-07-30 21:53:39 UTC) #36
samli
Screenshot: http://i.imgur.com/55xTlS1.png
5 years, 4 months ago (2015-08-04 06:37:07 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1255573004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1255573004/120001
5 years, 4 months ago (2015-08-04 06:37:30 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://src.chromium.org/viewvc/blink?view=rev&revision=199956
5 years, 4 months ago (2015-08-04 07:32:44 UTC) #41
samli
5 years, 4 months ago (2015-08-06 01:35:55 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/1271343004/ by samli@chromium.org.

The reason for reverting is: See crbug.com/517151.

Powered by Google App Engine
This is Rietveld 408576698