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

Issue 2146233003: DevTools: [SSP] render selectors effectively (Closed)

Created:
4 years, 5 months ago by lushnikov
Modified:
4 years, 5 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, blink-reviews-style_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: [SSP] render selectors effectively Currently, the selectors in styles sidebar pane are rendered each in a separate span, which makes them ctrl-clickable. This is needed to help in SourceMap debugging, as different selectors might be coming from different places in sources. (see crbug.com/266416) However, as it generates a lot of DOM nodes, this patch stitches unmatched selectors together in a single element. The selectors, however, are rendered separately as the user hits Ctrl and hovers over the section. BUG=628409 R=pfeldman, dgozman Committed: https://crrev.com/59dfe5a201bde760a7ff95e7cc66e00967cd7f02 Cr-Commit-Position: refs/heads/master@{#405934}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Total comments: 4

Patch Set 3 : rename method #

Messages

Total messages: 25 (13 generated)
lushnikov
please, take a look!
4 years, 5 months ago (2016-07-14 22:52:05 UTC) #1
pfeldman
https://codereview.chromium.org/2146233003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js File third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js (right): https://codereview.chromium.org/2146233003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode572 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:572: if (this._sectionUnderMouse !== newSection) { I don't think you ...
4 years, 5 months ago (2016-07-14 23:14:42 UTC) #4
lushnikov
Please, take another look https://codereview.chromium.org/2146233003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js File third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js (right): https://codereview.chromium.org/2146233003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode572 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:572: if (this._sectionUnderMouse !== newSection) { ...
4 years, 5 months ago (2016-07-15 00:49:23 UTC) #7
pfeldman
https://codereview.chromium.org/2146233003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js File third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js (right): https://codereview.chromium.org/2146233003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode571 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:571: var selectorElement = this._elementUnderMouse.enclosingNodeOrSelfWithClass("selector"); Both are ugly. please fetch ...
4 years, 5 months ago (2016-07-15 21:13:01 UTC) #10
lushnikov
please, take another look https://codereview.chromium.org/2146233003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js File third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js (right): https://codereview.chromium.org/2146233003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode571 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:571: var selectorElement = this._elementUnderMouse.enclosingNodeOrSelfWithClass("selector"); On ...
4 years, 5 months ago (2016-07-15 21:26:04 UTC) #11
pfeldman
lgtm
4 years, 5 months ago (2016-07-15 21:35:15 UTC) #14
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/2146233003/40001
4 years, 5 months ago (2016-07-15 21:46:48 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/245233)
4 years, 5 months ago (2016-07-15 23:28:17 UTC) #19
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/2146233003/40001
4 years, 5 months ago (2016-07-16 04:06:12 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-16 04:34:43 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-16 04:34:45 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-16 04:36:42 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/59dfe5a201bde760a7ff95e7cc66e00967cd7f02
Cr-Commit-Position: refs/heads/master@{#405934}

Powered by Google App Engine
This is Rietveld 408576698