W3C home > Mailing lists > Public > public-webcgm-wg@w3.org > January 2009

Re: ISSUE: what does getStyleProperty return?

From: David Cruikshank <dvdcruikshank@gmail.com>
Date: Mon, 19 Jan 2009 12:38:29 -0800
Message-ID: <8fbe8a40901191238x6f54183cp70da49a2feeace30@mail.gmail.com>
To: Lofton Henderson <lofton@rockynet.com>
Cc: WebCGM WG <public-webcgm-wg@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 January 2009 20:40:29 GMT