W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: element.onresize

From: Spirit <crimsteam@gmail.com>
Date: Tue, 13 Jan 2015 06:32:47 +0100
Message-ID: <54B4ADFF.5090702@gmail.com>
To: public-webapps@w3.org
But what if we can get notification only for some of elements (not all) 
via setting some properties or methods. This not solve performance isue?

Something like this:
el.resized = true
and only el will generate resize event.

Or fire resize only for elements that changedviauser interactions, or 
elements that matched to the resize property:

New HTML firing resize event for <video> element (when video has been 
fetched or whenever the intrinsic width or intrinsic height of the video 
changes) so adding that possibility only for some element should not be 
performance problem.
Received on Tuesday, 13 January 2015 05:33:15 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC