On 5/8/12 8:30 PM, Gregg Tavares (勤) wrote: > AFAICT the resize event only fires on window. There have been proposals over the years to change that. > Imagine a relatively heavy to repaint WebComponent like one that draws > an representation of an audio wave. If that component is hidden behind > some other component it would be nice if it didn't re-draw itself. This seems like a use case for requestAnimationFrame's second argument, and browser quality-of-implementation issues. > Does a 'paint' event make sense? Possibly, depending on how it's defined; actually running arbitrary script during painting is pretty undesirable (e.g. ideally painting happens on a totally separate thread from script, and having to synchronize them is not particularly ideal). -BorisReceived on Wednesday, 9 May 2012 00:56:58 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:34 UTC