views:

21

answers:

2

If an iframe loads a page containing a javascript ticker, but the ticker is outside the viewport, will a browser still waste CPU on running the ticker?

A: 

It depends on the ticker implementation. Most likely it will.

jeffamaphone
A: 

yes - save for the nanosecond it would have used to color in the pixels :-)

plodder