Changeset 138022 in webkit


Ignore:
Timestamp:
Dec 18, 2012 7:55:01 AM (11 years ago)
Author:
apavlov@chromium.org
Message:

Web Inspector: [Styles] Selector matches are not marked after property editing
https://bugs.webkit.org/show_bug.cgi?id=105284

Reviewed by Vsevolod Vlasov.

Once a property edit is committed, the selector markup is reset and needs to be re-applied.

  • inspector/front-end/StylesSidebarPane.js:

(WebInspector.StylePropertiesSection.prototype.update):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r138017 r138022  
     12012-12-18  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        Web Inspector: [Styles] Selector matches are not marked after property editing
     4        https://bugs.webkit.org/show_bug.cgi?id=105284
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        Once a property edit is committed, the selector markup is reset and needs to be re-applied.
     9
     10        * inspector/front-end/StylesSidebarPane.js:
     11        (WebInspector.StylePropertiesSection.prototype.update):
     12
    1132012-12-18  Eric Carlson  <eric.carlson@apple.com>
    214
  • trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js

    r136488 r138022  
    986986        if (this.styleRule.selectorText)
    987987            this._selectorElement.textContent = this.styleRule.selectorText;
     988        this._markSelectorMatches();
    988989        if (full) {
    989990            this.propertiesTreeOutline.removeChildren();
Note: See TracChangeset for help on using the changeset viewer.