Bug 19348

Summary: REGRESSION (r34193): Setting the size of a frame with javascript document.body.row no longer works
Product: WebKit Reporter: Peer Bremer <peer>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: mitz, mjs, pen
Priority: P1 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://www.smilecms.com/webkit/expand_frame.html
Attachments:
Description Flags
Call the base class implementation last darin: review+

Description Peer Bremer 2008-06-01 04:31:03 PDT
calling a javascript function:

function resizeFrame(contractsetting){
	document.body.rows=contractsetting;
}
or using document.body.rows='100,*';
No longer alters teh existing frame set height.
See the example at:
http://www.smilecms.com/webkit/expand_frame.html

Works with Safari 3.1.1 (4525.18) but not with the latest webkit builds
Comment 1 Alexey Proskuryakov 2008-06-02 00:09:12 PDT
Confirmed as a regression with r34291. Resizing the window to trigger relayout fixes the height.
Comment 2 Alexey Proskuryakov 2008-06-02 00:10:01 PDT
<rdar://problem/5978447>
Comment 3 mitz 2008-06-02 11:10:42 PDT
Caused by moving the base class recalcStyle() to the beginning of HTMLFrameSetElement::recalcStyle() in <http://trac.webkit.org/changeset/34193#file15>.
Comment 4 mitz 2008-07-23 13:30:16 PDT
*** Bug 20140 has been marked as a duplicate of this bug. ***
Comment 5 Peer Bremer 2008-08-11 03:25:05 PDT
There is also a redraw problem when a page is reloaded inside a frame set and a div uses an image as a background. Part of the background stays white and does not show the image. Solved when the window is resized.
Comment 6 mitz 2008-08-12 11:12:44 PDT
Created attachment 22753 [details]
Call the base class implementation last
Comment 7 Darin Adler 2008-08-12 11:24:55 PDT
Comment on attachment 22753 [details]
Call the base class implementation last

r=me
Comment 8 mitz 2008-08-12 11:28:21 PDT
Fixed in <http://trac.webkit.org/changeset/35690>.