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

Re: Request For Feedback: Traits

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Thu, 5 Jan 2006 10:54:16 +1100
To: www-svg@w3.org
Message-ID: <20060104235416.GB29169@port.mcc.id.au>

Bjoern Hoehrmann:
> http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/svgudom.html
> 
>   If the width is specified as a percentage or unit value (only
>   possible for the 'svg' 'width'), a DOMException with error code
>   TYPE_MISMATCH_ERR is raised since the requested trait's computed
>   value cannot be converted to a float.
> 
> It does not discuss 'x' attributes with unit identifiers since those are
> not allowed in SVG Tiny 1.2, though I see no reason to expect this to be
> different in SVG 1.2 "Full".

I see.  Perhaps a getLengthTrait is required for these cases, or
conversion to a float could be defined as just converting to user units.
This wouldn't necessarily work for the root 'svg' element, since it
might depend on the context in which it is being rendered.  It's hard to
review some things without knowing how they will be handled in Full.

-- 
 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org
Received on Wednesday, 4 January 2006 23:54:20 GMT

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