Monday, March 15th, 2010
Cedric Dugas feels so passionate about fixed positioning in WebKit that he created A Better Mobile Web to talk about it:
It is impossible to have an element fixed in CSS on the page in the mobile Webkit browser. When you are surfing the web on your phone, webkit opens the page completely and acts as a viewport.
“Imagine a book in front of you. Take a piece of paper, cut a 320*416 square in it, and lay it over the book. To read the book, move the paper around and position the hole over the words you want to see.” -Richard Herrera
Why it is important
The Webkit team could give us a proprietary CSS property that would overwrite the viewport behavior, and this is the proposition here. Give us a CSS property like position: -webkit-viewport-fixed that we can apply on a div so it can be fixed to the viewport.
That is one feature request, but surely there we can add to that? The broad domain of “abettermobileweb.com” deserves more!
What would you like to see for mobile specifically that isn’t covered in the current Web and device API standard work?
Posted by Dion Almaer at 10:41 am