Bug 17681

Summary: GtkLauncher fails to render an element with position: fixed
Product: WebKit Reporter: Chris Lee <clee>
Component: WebKitGTKAssignee: Pierre-Luc Beaudoin <pierre-luc.beaudoin>
Status: RESOLVED FIXED    
Severity: Normal CC: alp
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
GtkWebKit rendering showing lack of footer
none
Mac WebKit rendering including footer
none
Fix alp: review+

Description Chris Lee 2008-03-05 10:47:07 PST
At my blog (http://c133.org/blog/) I have a div#footer element with position: fixed specified in the CSS.

The correct rendering (as rendered by a WebKit nightly on the Mac, revision 30793) can be seen at http://c133.org/tmp/c133-macwebkit.png - while the rendering from the GTK build of WebKit can be seen at http://c133.org/tmp/c133-gtkwebkit.png and seems to be otherwise very good.
Comment 1 Chris Lee 2008-03-05 10:48:49 PST
Created attachment 19549 [details]
GtkWebKit rendering showing lack of footer

This is a screenshot of the GtkLauncher app rendering the page; notice how the footer is not rendered.
Comment 2 Chris Lee 2008-03-05 10:50:14 PST
Created attachment 19550 [details]
Mac WebKit rendering including footer

This is how the latest Safari nightly renders the page, properly including the footer.
Comment 3 Pierre-Luc Beaudoin 2008-03-05 13:16:35 PST
Created attachment 19554 [details]
Fix

screenRect was returning a 0x0 sized rect seems to prevent such pages to render correctly.
Comment 4 Alp Toker 2008-03-07 22:03:43 PST
Comment on attachment 19554 [details]
Fix

r=me
Comment 5 Alp Toker 2008-03-07 22:09:12 PST
Landed in r30892.