https://bugs.webkit.org/show_bug.cgi?id=72591
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Nov 2011 06:05:05 +0000 (06:05 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Nov 2011 06:05:05 +0000 (06:05 +0000)
commit86b30c387a5f17a32ad66621a6bca1f478d39aaa
treeb7a2b3c77f26223058a7742b49e99b75547d045a
parentc28771f40ea1472ec7c3e998a784440d432a8e1e
https://bugs.webkit.org/show_bug.cgi?id=72591
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: https://svn.webkit.org/repository/webkit/trunk@100847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/document-width-height-force-layout-expected.txt
LayoutTests/fast/dom/document-width-height-force-layout.html
LayoutTests/fullscreen/video-specified-size-expected.txt
LayoutTests/fullscreen/video-specified-size.html
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLDocument.idl