• andersca's avatar
    WebCore: · c382f5ba
    andersca authored
    2006-06-06  Anders Carlsson  <acarlsson@apple.com>
    
            Reviewed by Darin.
    
            http://bugzilla.opendarwin.org/show_bug.cgi?id=9325
            clientWidth/clientHeight on document element in strict mode should return visible frame size
            
            * dom/Element.cpp:
            (WebCore::Element::clientWidth):
            (WebCore::Element::clientHeight):
            If we're the document element, and in strict mode, return the visible size of the frame.
            
    LayoutTests:
    
    2006-06-06  Anders Carlsson  <acarlsson@apple.com>
    
            Reviewed by Darin.
    
            http://bugzilla.opendarwin.org/show_bug.cgi?id=9325
            clientWidth/clientHeight on document element in strict mode should return visible frame size
    
            * fast/dom/client-width-height-expected.txt: Added.
            * fast/dom/client-width-height.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c382f5ba
client-width-height-expected.txt 129 Bytes