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

Issue 2307463004: DevTools: Allow clicks to register in SSP when swatch popover is open (Closed)

Created:
4 years, 3 months ago by flandy
Modified:
4 years, 3 months ago
Reviewers:
dgozman, lushnikov
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, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Allow clicks to register in SSP when swatch popover is open Applying the style text to the tree element when the popover is hidden causes the section to update, not allowing clicks to register. It is unnecessary to apply the style text when the popover is hidden (unless reverting back to original property text) because the change has already been applied. BUG=644779 Committed: https://crrev.com/f8152e0a1d9157f873363a8b40951af0f6e0d6eb Cr-Commit-Position: refs/heads/master@{#417109}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -11 lines) Patch
M third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js View 1 3 chunks +9 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js View 1 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
flandy
Please take a look.
4 years, 3 months ago (2016-09-02 01:41:56 UTC) #2
lushnikov
https://codereview.chromium.org/2307463004/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js File third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js (right): https://codereview.chromium.org/2307463004/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js#newcode92 third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js:92: if (!commitEdit) this is something we might regress later; ...
4 years, 3 months ago (2016-09-06 15:09:40 UTC) #3
lushnikov
For the record: since the issue is not constantly reproducible and depends on both focusout ...
4 years, 3 months ago (2016-09-07 16:48:07 UTC) #4
flandy
Ptal. https://codereview.chromium.org/2307463004/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js File third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js (right): https://codereview.chromium.org/2307463004/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js#newcode92 third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js:92: if (!commitEdit) On 2016/09/07 16:48:07, lushnikov wrote: > ...
4 years, 3 months ago (2016-09-07 17:35:14 UTC) #6
lushnikov
lgtm, thanks
4 years, 3 months ago (2016-09-07 21:22:57 UTC) #9
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/2307463004/20001
4 years, 3 months ago (2016-09-07 21:32:26 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-07 23:04:56 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/f8152e0a1d9157f873363a8b40951af0f6e0d6eb Cr-Commit-Position: refs/heads/master@{#417109}
4 years, 3 months ago (2016-09-07 23:08:01 UTC) #15
flandy
4 years, 3 months ago (2016-09-08 01:01:00 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2320533005/ by flandy@google.com.

The reason for reverting is: This breaks editing color swatches within shadow
swatches. If you edit the color, and then edit the shadow, it reverts to the
original color.

We should further examine the effects of majorChange=true in applyStyleText. .

Powered by Google App Engine
This is Rietveld 408576698