htmlcss-positionopera-mobile

Opera Mobile incorrectly calculates position: fixed


I have a interesting problem with position: fixed in Opera Mobile 11:

Test page: http://dl.dropbox.com/u/841468/testcase/opera/fixed.html

The red <div> should stay fixed on top. If I scroll page down, element moves a bit from top edge of viewport (exactly 93px in device pixels); but if I scroll up, element returns to correct position.

(Screenshot on HTC Desire):

Screenshot on HTC Desire

My findings:

Thanks


Solution

  • This issue has been fixed internally, and the Opera Mobile 11.5 version should roll out with this working correctly.