Re: ISSUE: what does getStyleProperty return?

Just shooting from the hip here, but I would expect the return value to
correspond to the common value of the attribute in CGM.  We introduced these
"intensity" or percentage values WebCGM, but for simplicity I think the
return should probably be the value that makes sense when you consider the
same attribute value in CGM.

Just my thoughts.

Dave

On Mon, Jan 19, 2009 at 9:10 AM, Lofton Henderson <lofton@rockynet.com>wrote:

> ISSUE:  does getStyleProperty have to return the SP in the same form in
> which it was set?
>
> Ref:
> http://lists.w3.org/Archives/Public/public-webcgm-wg/2009Jan/0005.html
>
> Discussion:  Benoit asks the simple question, which we apparently have
> never addressed...
>
> At 10:59 AM 1/7/2009 -0500, Bezaire, Benoit wrote:
>
> [....] I wonder if the implementation has to return the exact same string
> that was used to set the attribute.
>
> Example for stroke-weight: setStyleProperty("stroke-weight", "200%"),
> getStyleProperty("stroke-weight") returns 0.5 (assuming original was 0.25).
>
>
> Question 1:  do any of our past minutes or email address this?
>
> Question 2:  has anyone implemented yet?  What have you implemented?
>
> RECOMMENDATION:  (none yet.)
>
> ### end ###
>
>

Received on Monday, 19 January 2009 20:40:28 UTC