A div
with "position: fixed"
is embedded into a parent div
. When the parent rotates or translates, the child div
moves also.
Is it a bug? I expected the child div
to remain fixed.
HTML snippet:
<div id="mask">
<div id="page">
</div>
</div>
See a repro at: http://jsfiddle.net/PseKK/
I know that I can fix it by applying the reverse transformation to the child div
but for performance reasons in my real scenario, I am looking for a solution that doesn't involve extra-transformation.
Any idea how to overcome?