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

Issue 2637593002: DevTools: Autocomplete CSS variables in StylesSidebar (Closed)

Created:
3 years, 11 months ago by einbinder
Modified:
3 years, 10 months ago
Reviewers:
dgozman, lushnikov, pfeldman
CC:
apavlov+blink_chromium.org, blink-reviews, blink-reviews-style_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Autocomplete CSS variables in StylesSidebar BUG=680693 Review-Url: https://codereview.chromium.org/2637593002 Cr-Commit-Position: refs/heads/master@{#448543} Committed: https://chromium.googlesource.com/chromium/src/+/1fb1dc19092fca70ebee18705dab8463eed8c6dc

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use cascade #

Total comments: 8

Patch Set 3 : Move cssVariables method into matched styles #

Patch Set 4 : More thorough test #

Patch Set 5 : merge #

Messages

Total messages: 32 (16 generated)
einbinder
ptal
3 years, 11 months ago (2017-01-14 03:23:36 UTC) #2
dgozman
https://codereview.chromium.org/2637593002/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/2637593002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode3131 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:3131: var regexResult = text.match(/[^A-Za-z0-9\-]--[A-Za-z0-9\-]+/g) || []; I see we ...
3 years, 11 months ago (2017-01-18 16:29:38 UTC) #8
einbinder
On 2017/01/18 at 16:29:38, dgozman wrote: > https://codereview.chromium.org/2637593002/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/2637593002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode3131 ...
3 years, 11 months ago (2017-01-18 18:48:31 UTC) #9
lushnikov
https://codereview.chromium.org/2637593002/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/2637593002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode3114 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:3114: Elements.StylesSidebarPane.findCSSVariables = function() { fetching & parsing everything is ...
3 years, 11 months ago (2017-01-23 05:06:47 UTC) #11
einbinder
Now that CSS variables show in the cascade, I use the matched properties as dgozman ...
3 years, 11 months ago (2017-01-23 22:22:16 UTC) #12
dgozman
Andrey, do we have tests which exercise completions for full-stack, with getting real data from ...
3 years, 11 months ago (2017-01-23 23:37:41 UTC) #13
lushnikov
Dmitry: I'm not aware of such a test - completions are defined in CSSMetadata, so ...
3 years, 11 months ago (2017-01-24 01:35:04 UTC) #14
einbinder
https://codereview.chromium.org/2637593002/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/2637593002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js#newcode2356 third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js:2356: var cssVariables = []; On 2017/01/24 at 01:35:03, lushnikov ...
3 years, 10 months ago (2017-02-03 01:51:54 UTC) #15
einbinder
The test isn't completely full stack, but it gets the variables from a real node ...
3 years, 10 months ago (2017-02-03 23:48:36 UTC) #16
pfeldman
lgtm
3 years, 10 months ago (2017-02-06 23:02:00 UTC) #18
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/2637593002/60001
3 years, 10 months ago (2017-02-06 23:38:07 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/148350) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-06 23:42:00 UTC) #22
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/2637593002/80001
3 years, 10 months ago (2017-02-07 01:23:51 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/316416)
3 years, 10 months ago (2017-02-07 02:01:01 UTC) #27
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/2637593002/80001
3 years, 10 months ago (2017-02-07 02:55:49 UTC) #29
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 04:35:27 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1fb1dc19092fca70ebee18705dab...

Powered by Google App Engine
This is Rietveld 408576698