Dear All, Few months ago I've sent to webkit-help question regarding CSS Fixed elements and treating them as Absolute ones. Unfortunately I haven't received any reply. As I'm still interested in any tips I'm asking this question again. Below you can find my original mail.
Regards, Kamil Blank ---------- Forwarded message ---------- From: Kamil Blank <[email protected]> Date: Sat, Sep 18, 2010 at 8:09 PM Subject: How to treat CSS Fixed elements as Absolute ones? To: [email protected] Dear All, I would like to change the CSS Fixed elements way of working so that they are treated in the same way as Absolute elements. Could you please give me some advices on how I can do this? My initial idea was to divide the task into 2 steps: 1) Calculate new position of Fixed elements, so they'll be relative to page and not to the viewport; 2) Treat fixed elements as absolute ones. I think the second step could be resolve by doing some small amendment in WebCore::RenderStyle by changing FixedPosition meaning into AbsolutePosition. However, I am concerned about the first part – could you please advise where could I insert my changes, i.e. where the fixed elements relative to the viewport are calculated? Can you think of any alternative solution of that issue? I will highly appreciate any hints. Thanks in advance. Kamil Blank
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

