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+

Chris Lee
Reported 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.
Attachments
GtkWebKit rendering showing lack of footer (129.60 KB, image/png)
2008-03-05 10:48 PST, Chris Lee
no flags
Mac WebKit rendering including footer (227.74 KB, image/png)
2008-03-05 10:50 PST, Chris Lee
no flags
Fix (2.12 KB, patch)
2008-03-05 13:16 PST, Pierre-Luc Beaudoin
alp: review+
Chris Lee
Comment 1 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.
Chris Lee
Comment 2 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.
Pierre-Luc Beaudoin
Comment 3 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.
Alp Toker
Comment 4 2008-03-07 22:03:43 PST
Comment on attachment 19554 [details] Fix r=me
Alp Toker
Comment 5 2008-03-07 22:09:12 PST
Landed in r30892.
Note You need to log in before you can comment on or make changes to this bug.