Changeset 266070 in webkit


Ignore:
Timestamp:
Aug 24, 2020 10:24:52 AM (4 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Elements: Styles: don't show swatches for properties that aren't used/apply
https://bugs.webkit.org/show_bug.cgi?id=215681

Reviewed by Brian Burg.

  • UserInterface/Views/SpreadsheetStyleProperty.js:

(WI.SpreadsheetStyleProperty.prototype._renderValue):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r266069 r266070  
     12020-08-24  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Elements: Styles: don't show swatches for properties that aren't used/apply
     4        https://bugs.webkit.org/show_bug.cgi?id=215681
     5
     6        Reviewed by Brian Burg.
     7
     8        * UserInterface/Views/SpreadsheetStyleProperty.js:
     9        (WI.SpreadsheetStyleProperty.prototype._renderValue):
     10
    1112020-08-24  Devin Rousso  <drousso@apple.com>
    212
  • trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js

    r262302 r266070  
    464464        let tokens = WI.tokenizeCSSValue(value);
    465465
    466         if (this._property.enabled)
     466        if (this._property.enabled && !this._property.overridden && this._property.valid && !this._property.hasOtherVendorNameOrKeyword())
    467467            tokens = this._replaceSpecialTokens(tokens);
    468468
Note: See TracChangeset for help on using the changeset viewer.