W3C home > Mailing lists > Public > www-svg@w3.org > May 2005

Re: SVG12: when vs why discard

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 22 May 2005 01:48:26 +0000 (UTC)
To: Craig Northway <craign@cisra.canon.com.au>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-svg@w3.org
Message-ID: <Pine.LNX.4.61.0505220143090.17792@dhalsim.dreamhost.com>

On Sun, 22 May 2005, Craig Northway wrote:
>
> In response to your comment, and other comments you sent on the discard 
> element we have changed the relevant text. I have rearranged the edited 
> text to resolve your issue. The section in question now states:
> 
>    An element gets discarded either when it is the target of a
>    'discard' element and the value of the 'begin' attribute of this
>    latter is reached or when one of its ancestors is discarded.
> 
> This now only describe when an element is dicarded.
> 
> Later in the discard element description it is clarfied that a discard 
> element cna be the target of another discard element.
> 
>    The 'discard' element itself can be discarded prior to its
>    activation. It could be the target of another 'discard' element.

Could you reword it to have explicit conformance criteria? For example:

   "User agents must discard an element when it is the target of a 
   'discard' element and the time specified by the value of the 'begin' 
   attribute of this 'discard' element is reached, and, when one of the 
   element's ancestors is discarded."

Or you could phrase this as:

   "User agents must discard an element when it is the target of a 
   'discard' element and the time specified by the value of the 'begin' 
   attribute of this 'discard' element is reached. When an element is 
   discarded, all its descendants must be discarded as well."

Note that the second one also handles the fact that any text node or 
comment node descendants of a discarded element must be discarded as well 
(at the moment the text you mentioned seems to imply they are not).

The same applies to the other paragraph you mentioned. If it is supposed 
to be a conformance criteria, please phrase it as such.

Thanks,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 22 May 2005 01:48:35 GMT

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