W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

Re: SVG12: discard begin

From: Robin Berjon <robin.berjon@expway.fr>
Date: Mon, 23 Jan 2006 12:14:47 +1100
Message-Id: <20149719-EE65-4969-932D-1B331E00D004@expway.fr>
Cc: www-svg@w3.org
To: Bjoern Hoehrmann <derhoermi@gmx.net>

On Jan 05, 2006, at 11:36, Bjoern Hoehrmann wrote:
> * Craig Northway wrote:
>> The group thinks that the default behaviour provided by the '0'  
>> value is
>> more intuitive to the naive user. If a discard element is present in
>> content without a begin value specified and the default of  
>> 'indefinite'
>> is used, the discard element will never have an effect unless  
>> triggered
>> by scripting. The group would prefer the elements presence to be  
>> obvious
>> due to the immediate removal of the target element.
>
> Why would an author include the target element at all if he wants  
> it to
> be removed immediately? This would also be the behavior if a Tiny user
> agent attempts to process a "Full" document which might have a value
> like begin="10:00" rather than begin="600s", does it make sense to
> discard the element immediately if the author really wanted to discard
> it after 10 minutes?

The primary goal of discard is to reclaim memory for content that is  
no longer needed. Given Full content sent to a Tiny UA (presumably  
running on a constrained device), and given that the choice is "keep  
forever" vs "discard now", the best option indeed would seem to be  
"discard now". It might break the content but then so might the other  
option, and it's more in line with the goals of discard.

Please let us know shortly if this does not address your concerns,

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Monday, 23 January 2006 01:14:59 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:33 GMT