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

Issue 2606013002: DevTools: Preserve the selection in StylesSideBar more often (Closed)

Created:
3 years, 11 months ago by einbinder
Modified:
3 years, 11 months ago
Reviewers:
dgozman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Preserve the selection in StylesSideBar more often If a selection crossed between shadow roots, it wouldn't be detected and a new blank property would be added on mouse up. BUG=654163 Committed: https://crrev.com/d8da265eb8eb0660119e988f1be6c49e5b7e711d Cr-Commit-Position: refs/heads/master@{#441018}

Patch Set 1 #

Total comments: 4

Patch Set 2 : check if firstchild exists #

Patch Set 3 : git cl web #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
einbinder
https://codereview.chromium.org/2606013002/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/2606013002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode1243 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:1243: if (!this.propertiesTreeOutline.element.shadowRoot.firstChild.isComponentSelectionCollapsed()) This feels pretty magical. Ideally we would ...
3 years, 11 months ago (2016-12-29 08:58:45 UTC) #2
dgozman
https://codereview.chromium.org/2606013002/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/2606013002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode1243 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:1243: if (!this.propertiesTreeOutline.element.shadowRoot.firstChild.isComponentSelectionCollapsed()) On 2016/12/29 08:58:45, einbinder wrote: > This ...
3 years, 11 months ago (2016-12-29 19:02:58 UTC) #3
dgozman
lgtm https://codereview.chromium.org/2606013002/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/2606013002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode1243 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:1243: if (!this.propertiesTreeOutline.element.shadowRoot.firstChild.isComponentSelectionCollapsed()) if (this.propertiesTreeOutline.element.shadowRoot.firstChild && ...)
3 years, 11 months ago (2016-12-30 00:42:33 UTC) #4
einbinder
https://codereview.chromium.org/2606013002/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/2606013002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode1243 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:1243: if (!this.propertiesTreeOutline.element.shadowRoot.firstChild.isComponentSelectionCollapsed()) On 2016/12/30 at 00:42:33, dgozman wrote: > ...
3 years, 11 months ago (2016-12-30 02:17:37 UTC) #6
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/2606013002/20001
3 years, 11 months ago (2016-12-30 02:17:52 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2016-12-30 04:32:35 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:54:08 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d8da265eb8eb0660119e988f1be6c49e5b7e711d
Cr-Commit-Position: refs/heads/master@{#441018}

Powered by Google App Engine
This is Rietveld 408576698