Bug 114070 - Setting a header or footer should cause a relayout
Summary: Setting a header or footer should cause a relayout
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Beth Dakin
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-04-05 15:41 PDT by Beth Dakin
Modified: 2013-04-05 15:51 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.64 KB, patch)
2013-04-05 15:44 PDT, Beth Dakin
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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