Bug 114070

Summary: Setting a header or footer should cause a relayout
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: Layout and RenderingAssignee: Beth Dakin <bdakin>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, sam, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sam: review+

Description Beth Dakin 2013-04-05 15:41:51 PDT
If a WebView is given a header or footer through API, we need to relayout the page. Otherwise, if a header/footer is added after the page has content, then space is not properly allocated for the header and footer, and hit testing is off.

Part of <rdar://problem/13503637>
Comment 1 Beth Dakin 2013-04-05 15:44:48 PDT
Created attachment 196691 [details]
Patch
Comment 2 Beth Dakin 2013-04-05 15:51:26 PDT
Thanks Sam! http://trac.webkit.org/changeset/147806