DOM

Overlapping DOM-on-canvas FPS test

Test on iPhone in fullscreen mode (by doing "add to home page") and launch full screen. Leave it running for a bit - a flashing rectangle be drawn on a full screen canvas element. It cycles between being drawn next to, and then "underlapping", a thin black DIV.

Click the canvas element to toggle the DIV, and click the "DOM" text to toggle input elements.

Why? On an iPhone 3GS (at least), drawing underneath a DIV that contains input elements will halve the FPS count.

Lemme know what your phone says over at Mr Speaker's Hompage.