-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <rdar://problem/34986379> Reviewed by Joseph Pecoraro. Highlight the matching property using a yellow background and focus on the property value if the property is editable (e.g., not a User Agent style). * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css: (.spreadsheet-style-declaration-editor): (.spreadsheet-style-declaration-editor .property): Move left padding to the property element so there's no awkward gap on the left side when the property is highlighted. (.spreadsheet-style-declaration-editor .property.highlighted): (@Keyframes style-property-highlight): Use the same animation duration as we used in `.text-editor > .CodeMirror .highlighted`. The highlight color was changed from light blue to yellow. * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js: (WI.SpreadsheetCSSStyleDeclarationEditor.prototype.highlightProperty): Use the same logic as in WI.CSSStyleDeclarationTextEditor.prototype.highlightProperty to find matching style property to highlight. * UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js: (WI.SpreadsheetCSSStyleDeclarationSection.prototype.highlightProperty): Use the same logic as in WI.CSSStyleDeclarationSection.prototype.highlightProperty. * UserInterface/Views/SpreadsheetRulesStyleDetailsPanel.js: (WI.SpreadsheetRulesStyleDetailsPanel.prototype.scrollToSectionAndHighlightProperty): (WI.SpreadsheetRulesStyleDetailsPanel.prototype.nodeStylesRefreshed): Copied from WI.RulesStyleDetailsPanel. * UserInterface/Views/SpreadsheetStyleProperty.js: (WI.SpreadsheetStyleProperty): (WI.SpreadsheetStyleProperty.prototype.detached): (WI.SpreadsheetStyleProperty.prototype.highlight): Canonical link: https://commits.webkit.org/194540@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
6 changed files
with
141 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters