Changeset 50032 in webkit


Ignore:
Timestamp:
Oct 24, 2009 4:08:00 PM (14 years ago)
Author:
timothy@apple.com
Message:

Call updateSelection() in a few places so hovering in the Web Inspector's
Elements panel always has the correct row selection height.

https://bugs.webkit.org/show_bug.cgi?id=30735

Reviewed by Pavel Feldman.

  • inspector/front-end/ElementsTreeOutline.js:

(WebInspector.ElementsTreeElement.prototype.toggleNewAttributeButton): Call updateSelection().
(WebInspector.ElementsTreeElement.prototype._insertInLastAttributePosition): Ditto.

  • inspector/front-end/inspector.css: Prevent text wrapping in the middle of the add attribute text.
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r50031 r50032  
     12009-10-24  Timothy Hatcher  <timothy@apple.com>
     2
     3        Call updateSelection() in a few places so hovering in the Web Inspector's
     4        Elements panel always has the correct row selection height.
     5
     6        https://bugs.webkit.org/show_bug.cgi?id=30735
     7
     8        Reviewed by Pavel Feldman.
     9
     10        * inspector/front-end/ElementsTreeOutline.js:
     11        (WebInspector.ElementsTreeElement.prototype.toggleNewAttributeButton): Call updateSelection().
     12        (WebInspector.ElementsTreeElement.prototype._insertInLastAttributePosition): Ditto.
     13        * inspector/front-end/inspector.css: Prevent text wrapping in the middle of the add attribute text.
     14
    1152009-10-24  Timothy Hatcher  <timothy@apple.com>
    216
  • trunk/WebCore/inspector/front-end/ElementsTreeOutline.js

    r50031 r50032  
    329329                this._addAttributeElement.parentNode.removeChild(this._addAttributeElement);
    330330            delete this._addAttributeElement;
     331
     332            this.updateSelection();
    331333        }
    332334
     
    343345            removeAddAttributeSpan.call(this);
    344346    },
    345    
     347
    346348    updateSelection: function()
    347349    {
     
    544546            tag.appendChild(document.createTextNode('>'));
    545547        }
     548
     549        this.updateSelection();
    546550    },
    547551
  • trunk/WebCore/inspector/front-end/inspector.css

    r50021 r50032  
    11641164    margin-left: 1px;
    11651165    margin-right: 1px;
     1166    white-space: nowrap;
    11661167}
    11671168
Note: See TracChangeset for help on using the changeset viewer.