Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: CSS autocomplete: property usage counts should ignore …
…variables https://bugs.webkit.org/show_bug.cgi?id=242397 Reviewed by Patrick Angle. CSS variables are probably pretty unlikely to have the same named across multiple sites, and it's also somewhat unlikely they'll be used that often (plus many sites have a gazillion of them). * Source/WebInspectorUI/UserInterface/Models/CSSProperty.js: (WI.CSSProperty.isVariable): Added. (WI.CSSProperty.isInheritedPropertyName): (WI.CSSProperty.prototype.update): (WI.CSSProperty.prototype._updateName): * LayoutTests/inspector/css/css-property.html: * LayoutTests/inspector/css/css-property-expected.txt: * Source/WebInspectorUI/UserInterface/Models/CSSStyleDeclaration.js: (WI.CSSStyleDeclaration.prototype.resolveVariableValue): * Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js: (WI.SpreadsheetStyleProperty.prototype._addVariableTokens): Drive-by: Use the new utility `WI.CSSProperty.isVariable` instead of repeating the logic. Canonical link: https://commits.webkit.org/252195@main
- Loading branch information
Showing
5 changed files
with
19 additions
and
6 deletions.
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