[chromium] iframes in an autoresized window get sized incorrectly.
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Jan 2012 00:29:46 +0000 (00:29 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Jan 2012 00:29:46 +0000 (00:29 +0000)
commit39faf8c97417372d4df6d95067d8d8933212e3f1
tree08839476d522fd9690004a052f5888147f9e6f83
parentfe44649b91bd410d0fc34fea99fd6c8cdc830f89
[chromium] iframes in an autoresized window get sized incorrectly.
https://bugs.webkit.org/show_bug.cgi?id=75806

Reviewed by Adam Barth.

Source/WebKit/chromium:

TEST: fast/autoresize/autoresize-with-iframe.html

* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::createFrameView): Only do autoresizing
for the main frame not child frames.

LayoutTests:

* fast/autoresize/autoresize-with-iframe-expected.txt: Added.
* fast/autoresize/autoresize-with-iframe.html: Added.
* fast/autoresize/basic.html: Pulled out autoresize-util.js
* fast/autoresize/resources/autoresize-util.js: Added.
(log):
(shouldBe):
* fast/autoresize/resources/iframe.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/autoresize/autoresize-with-iframe-expected.txt [new file with mode: 0644]
LayoutTests/fast/autoresize/autoresize-with-iframe.html [new file with mode: 0644]
LayoutTests/fast/autoresize/basic.html
LayoutTests/fast/autoresize/resources/autoresize-util.js [new file with mode: 0644]
LayoutTests/fast/autoresize/resources/iframe.html [new file with mode: 0644]
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/WebFrameImpl.cpp