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>
Created attachment 196691 [details] Patch
Thanks Sam! http://trac.webkit.org/changeset/147806