[webkit-reviews] review requested: [Bug 36783] Update of fixed elements is not made correctly when the page has been scrolled : [Attachment 53755] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 18:17:40 PDT 2010


Benjamin Poulain <benjamin.poulain at nokia.com> has asked  for review:
Bug 36783: Update of fixed elements is not made correctly when the page has
been scrolled
https://bugs.webkit.org/show_bug.cgi?id=36783

Attachment 53755: Patch
https://bugs.webkit.org/attachment.cgi?id=53755&action=review

------- Additional Comments from Benjamin Poulain <benjamin.poulain at nokia.com>
Patch update with the comments of Simon.

> But now I think about this, what happens with:
> 
> <div style="position: fixed>
>   <div style="-webkit-transform: translate(10px, 10px)">
>     <div style="position: fixed>
>     </div>
>   </div>
> </div>
> ?

This case works since the whole subtree of a fixed element is updated.


However, I am surprised by the result. For me, a transformed child of a fixed
element is not special, it should be fixed in the viewport. Currently, it is
not, it act as if it has absolute positioning, bypassing the parent's fixed
position.
I think the behavior is not correct, I will open a other bug for that case if
you agree this is not correct.


More information about the webkit-reviews mailing list