WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
178286
Web Inspector: [PARITY] Styles Redesign: clicking on the go-to arrow in Computed tab should work
https://bugs.webkit.org/show_bug.cgi?id=178286
Summary
Web Inspector: [PARITY] Styles Redesign: clicking on the go-to arrow in Compu...
Nikita Vasilyev
Reported
2017-10-13 14:52:10 PDT
Clicking on the go-to arrow in Computed tab should switch to "Styles — Rules" panel and highlight the corresponding property, similarly to the old styles sidebar.
Attachments
Patch
(8.66 KB, patch)
2017-10-14 13:02 PDT
,
Nikita Vasilyev
joepeck
: review+
joepeck
: commit-queue-
Details
Formatted Diff
Diff
[Animated GIF] With patch applied
(1012.73 KB, image/gif)
2017-10-14 13:02 PDT
,
Nikita Vasilyev
no flags
Details
Patch
(8.84 KB, patch)
2017-10-15 19:06 PDT
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-10-13 14:52:31 PDT
<
rdar://problem/34986379
>
Nikita Vasilyev
Comment 2
2017-10-14 13:02:18 PDT
Created
attachment 323818
[details]
Patch
Nikita Vasilyev
Comment 3
2017-10-14 13:02:55 PDT
Created
attachment 323819
[details]
[Animated GIF] With patch applied
Joseph Pecoraro
Comment 4
2017-10-15 15:30:58 PDT
Comment on
attachment 323818
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=323818&action=review
> Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css:101 > +@keyframes style-property-highlight { > + from { background-color: yellow; } > +}
Shouldn't this have some kind of `to`?
> Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js:110 > + if (!this.didInitialLayout) > + this.updateLayout();
This seems peculiar. You should have a comment describing why we force a layout here. It seems you could do the same "defer until layout the property to highlight", but given this is a user action this probably isn't too bad.
> Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js:45 > + this._property.__view = this;
__view is already used elsewhere. Every `Views/*View.js` sets __view. So I suggest using a different name to avoid potential conflicts. Maybe __spreadsheetStyleProperty or __propertyView.
Nikita Vasilyev
Comment 5
2017-10-15 18:59:20 PDT
Comment on
attachment 323818
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=323818&action=review
>> Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css:101 >> +} > > Shouldn't this have some kind of `to`?
I could add to { background-color: transparent; } but it works just fine without "to"! In the old styles sidebar we omitted "to" as well, see `@keyframes text-editor-highlight-fadeout`.
Nikita Vasilyev
Comment 6
2017-10-15 19:06:00 PDT
Created
attachment 323854
[details]
Patch Joe: you left cq-. Does it mean that I shouldn't cq+ the updated patch myself and wait for you to take another look?
Joseph Pecoraro
Comment 7
2017-10-15 19:52:47 PDT
(In reply to Nikita Vasilyev from
comment #6
)
> Created
attachment 323854
[details]
> Patch > > Joe: you left cq-. Does it mean that I shouldn't cq+ the updated patch > myself and wait for you to take another look?
cq- just means don't land the previous patch as is. If you have addressed the comments in the new patch you can cq+ or land the new patch given it has addressed the comments.
WebKit Commit Bot
Comment 8
2017-10-15 20:42:09 PDT
Comment on
attachment 323854
[details]
Patch Clearing flags on attachment: 323854 Committed
r223333
: <
https://trac.webkit.org/changeset/223333
>
WebKit Commit Bot
Comment 9
2017-10-15 20:42:11 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug