setTimeout() in HTML5

On Fri, 3 Oct 2008, Maciej Stachowiak wrote:
>
> I would recommend to the HTML5 editor to require some reasonable minimum 
> because it seems to be de facto required for Web compatibility. I cannot 
> state with certainty that nothing lower than 10ms is safe. Chrome 
> shipped with a 1ms delay and that was found to create problems on a 
> number of sites, including nytimes. They are planning to try 4ms next. 
> We would consider using a lower limit in the official webkit.org version 
> of WebKit, not not as low as 1ms.

I've used 4ms for now but will increase it if that is found to be too low.

I used 10ms for setInterval().

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 4 May 2009 06:15:57 UTC