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

Issue 2644703002: DevTools: Show CSS variables in the inherited properties cascade (Closed)

Created:
3 years, 11 months ago by einbinder
Modified:
3 years, 11 months ago
Reviewers:
dgozman, lushnikov
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: Show CSS variables in the inherited properties cascade BUG=680693 Review-Url: https://codereview.chromium.org/2644703002 Cr-Commit-Position: refs/heads/master@{#444929} Committed: https://chromium.googlesource.com/chromium/src/+/f2a640e932be7a9765472c6d6e8f90f9b2a02970

Patch Set 1 #

Patch Set 2 : test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -7 lines) Patch
M third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-variables-expected.txt View 1 5 chunks +50 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js View 1 chunk +2 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (13 generated)
einbinder
ptal
3 years, 11 months ago (2017-01-18 19:55:19 UTC) #2
dgozman
We need a test.
3 years, 11 months ago (2017-01-18 21:58:21 UTC) #7
einbinder
The current CSS variables test should provide adequate coverage with the new expected file. Covers ...
3 years, 11 months ago (2017-01-19 20:14:30 UTC) #8
dgozman
lgtm
3 years, 11 months ago (2017-01-19 23:17:25 UTC) #13
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/2644703002/20001
3 years, 11 months ago (2017-01-20 00:05:26 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/f2a640e932be7a9765472c6d6e8f90f9b2a02970
3 years, 11 months ago (2017-01-20 01:41:35 UTC) #18
lushnikov
3 years, 11 months ago (2017-01-23 05:13:21 UTC) #20
Message was sent while issue was closed.
nice patch!

https://codereview.chromium.org/2644703002/diff/20001/third_party/WebKit/Sour...
File
third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
(right):

https://codereview.chromium.org/2644703002/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js:217:
if (a.startsWith('--') ^ b.startsWith('--'))
fyi: "^" is a bit-xor, not a logical xor, so it might yield surprising results
in certain cases. I'd rather use:

a.startsWith('--') !== b.startsWith('--')

Powered by Google App Engine
This is Rietveld 408576698