Changeset 266069 in webkit


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

Web Inspector: Elements: Styles: don't show non-inherited properties
https://bugs.webkit.org/show_bug.cgi?id=215682

Reviewed by Brian Burg.

  • UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js:

(WI.SpreadsheetCSSStyleDeclarationEditor.prototype.get propertiesToRender):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r266066 r266069  
     12020-08-24  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Elements: Styles: don't show non-inherited properties
     4        https://bugs.webkit.org/show_bug.cgi?id=215682
     5
     6        Reviewed by Brian Burg.
     7
     8        * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js:
     9        (WI.SpreadsheetCSSStyleDeclarationEditor.prototype.get propertiesToRender):
     10
    1112020-08-24  Devin Rousso  <drousso@apple.com>
    212
  • trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js

    r261933 r266069  
    230230        else
    231231            properties = this._style.properties;
     232
     233        if (this._style.inherited)
     234            properties = properties.filter((property) => property.inherited);
    232235
    233236        if (this._sortPropertiesByName)
Note: See TracChangeset for help on using the changeset viewer.