Changeset 57514 in webkit


Ignore:
Timestamp:
Apr 13, 2010 7:36:56 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-13 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Cannot effectively delete properties in the Styles sidebar pane
https://bugs.webkit.org/show_bug.cgi?id=37499

  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::applyStyleText):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57513 r57514  
     12010-04-13  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: Cannot effectively delete properties in the Styles sidebar pane
     6        https://bugs.webkit.org/show_bug.cgi?id=37499
     7
     8        * inspector/InspectorDOMAgent.cpp:
     9        (WebCore::InspectorDOMAgent::applyStyleText):
     10
    1112010-04-13  Stephan Aßmus  <superstippi@gmx.de>
    212
  • trunk/WebCore/inspector/InspectorDOMAgent.cpp

    r57292 r57514  
    918918        // original property from the real style declaration. If this represents
    919919        // a shorthand remove all the longhand properties.
    920         if (style->getPropertyShorthand(propertyName).isEmpty()) {
     920        if (!style->getPropertyShorthand(propertyName).isEmpty()) {
    921921            Vector<String> longhandProps = longhandProperties(style, propertyName);
    922922            for (unsigned i = 0; !ec && i < longhandProps.size(); ++i)
Note: See TracChangeset for help on using the changeset viewer.