• eric@webkit.org's avatar
    2009-11-26 Daniel Bates <dbates@webkit.org> · 650b16f3
    eric@webkit.org authored
            Reviewed by Pavel Feldman.
    
            https://bugs.webkit.org/show_bug.cgi?id=21554
    
            Tests that the tooltip text for an image is its dimensions.
    
            * inspector/elements-img-tooltip-expected.txt: Added.
            * inspector/elements-img-tooltip.html: Added.
    2009-11-26  Daniel Bates  <dbates@webkit.org>
    
            Reviewed by Pavel Feldman.
    
            https://bugs.webkit.org/show_bug.cgi?id=21554
    
            Implements support for hovering over <img> src to display the height and width of that image
            in a tooltip. Displays both the displayable and natural dimensions of the image.
    
            Test: inspector/elements-img-tooltip.html
    
            * inspector/front-end/ElementsTreeOutline.js:
            (WebInspector.ElementsTreeElement.prototype.createTooltipForImageNode): Added.
            (WebInspector.ElementsTreeElement.prototype._updateTitle.callback):
            (WebInspector.ElementsTreeElement.prototype._updateTitle):
            (WebInspector.ElementsTreeElement.prototype._nodeTitleInfo):
            * inspector/front-end/ObjectProxy.js:
            (WebInspector.ObjectProxy.getPropertiesAsync): Added.
            * inspector/front-end/inspector.js:
            (WebInspector.linkifyURLAsNode): Added tooltipText argument.
            (WebInspector.linkifyURL): Ditto.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    650b16f3