Changeset 186576 in webkit


Ignore:
Timestamp:
Jul 8, 2015, 9:20:35 PM (10 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Style sidebar is showing incorrect strikethroughs
https://bugs.webkit.org/show_bug.cgi?id=146768

Reviewed by Timothy Hatcher.

  • UserInterface/Models/DOMNodeStyles.js:

(WebInspector.DOMNodeStyles.prototype._markOverriddenProperties):
No longer sets the effective property as overridden if the overriding property is anonymous (not visible).

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r186562 r186576  
     12015-07-08  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Style sidebar is showing incorrect strikethroughs
     4        https://bugs.webkit.org/show_bug.cgi?id=146768
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Models/DOMNodeStyles.js:
     9        (WebInspector.DOMNodeStyles.prototype._markOverriddenProperties):
     10        No longer sets the effective property as overridden if the overriding property is anonymous (not visible).
     11
    1122015-07-08  Devin Rousso  <drousso@apple.com>
    213
  • trunk/Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js

    r184934 r186576  
    929929                    }
    930930
    931                     effectiveProperty.overridden = true;
     931                    if (!property.anonymous)
     932                        effectiveProperty.overridden = true;
    932933                }
    933934
Note: See TracChangeset for help on using the changeset viewer.