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

Issue 2320533005: Revert of 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

Revert of DevTools: Allow clicks to register in SSP when swatch popover is open (patchset #2 id:20001 of https://codereview.chromium.org/2307463004/ ) Reason for revert: 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. Original issue's 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} TBR=lushnikov@chromium.org,dgozman@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=644779 Committed: https://crrev.com/d92a75f417b99a2abebb33234695eb60b96d04f1 Cr-Commit-Position: refs/heads/master@{#417140}

Patch Set 1 #

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

Messages

Total messages: 13 (5 generated)
flandy
Created Revert of DevTools: Allow clicks to register in SSP when swatch popover is open
4 years, 3 months ago (2016-09-08 01:01:01 UTC) #2
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/2320533005/1
4 years, 3 months ago (2016-09-08 01:01:46 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 3 months ago (2016-09-08 01:01:47 UTC) #5
lushnikov
rs lgtm
4 years, 3 months ago (2016-09-08 01:07:18 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/2320533005/1
4 years, 3 months ago (2016-09-08 01:07:54 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-08 01:10:59 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/d92a75f417b99a2abebb33234695eb60b96d04f1 Cr-Commit-Position: refs/heads/master@{#417140}
4 years, 3 months ago (2016-09-08 01:13:32 UTC) #12
flandy
4 years, 3 months ago (2016-09-09 17:52:34 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/2320533005/diff/1/third_party/WebKit/Source/d...
File
third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js
(left):

https://codereview.chromium.org/2320533005/diff/1/third_party/WebKit/Source/d...
third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js:83:
if (!commitEdit)
For the record, this change should not be applied because majorChange=true in
applyStyleText is necessary since it marks the DOM undoable state so that undo
is handled correctly.

Powered by Google App Engine
This is Rietveld 408576698