Skip to content
  • commit-queue@webkit.org's avatar
    https://bugs.webkit.org/show_bug.cgi?id=72591 · 4623cd40
    commit-queue@webkit.org authored
    Remove document.width / document.height
    
    Patch by Vineet Chaudhary <vineet.chaudhary@motorola.com> on 2011-11-18
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    Removed document.width/document.height from JS bindings,
    but keeping the same for ObjC bindings. Also it should use
    document.body.clientWidth and document.body.clientHeight instead.
    
    * html/HTMLDocument.idl:
    
    LayoutTests:
    
    As support for document.width / document.height has been
    removed it should use document.body.clientWidth and document.body.clientHeight
    respectively.
    
    * fast/dom/document-width-height-force-layout-expected.txt:
    * fast/dom/document-width-height-force-layout.html:
    Modified test case to use document.body.clientWidth and document.body.clientHeight.
    * fullscreen/video-specified-size-expected.txt:
    * fullscreen/video-specified-size.html:
    Modified test case to use document.body.clientWidth.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4623cd40