iPhone/Safari Notes

Safari on iPhone has a number of things that are NOT implemented. Here’s a list of things that don’t seem to work (and I’ll be adding more as time goes on):

Javascript:

  • window.onmousedown
  • window.onclick
  • window.onscroll

CSS:

  • overflow:hidden
  • position:fixed
  • position:static
  • -webkit-column-*

If you find any more, please leave them in the comments and I’ll add them to the list.


3 Comments to “iPhone/Safari Notes”  

  1. 1 Anony Mous

    How can “position: static” possibly be unsupported? It’s the default value of “position”, so all elements that do not have it overridden will be treated as static.

  2. 2 Christopher Allen

    You might be interested in the www.iPhoneWebDev.com community — there has been a lot of discussion today on how best to do viewports, how to turn off scaling, and other issues of web design and web apps for the iPhone. There is also a barcamp conference next week in SF, info at www.iPhoneDevCamp.com.

  3. 3 Matthew Krivanek

    I was hoping I could overcome the position:fixed issue with JavaScript but alas, none of the following work.

    pageXOffset
    pageYOffset
    document.body.scrollTop
    document.body.scrollLeft

Leave a Reply