Re: [CSSOM] GetComputedStyle : choose the unit

On Mon, Mar 23, 2009 at 9:07 AM, Innovimax SARL <innovimax@gmail.com> wrote:
> Dear,

[...]

> I propose to add a new parameter to getPropertyValue so that you can choose
> the unit
>
> something like
>
> getComputedStyle(el, "").getPropertyValue("width", "px");
>
> And even to get information with respect to relative value
>
> getComputedStyle(el, "").getPropertyValue("width", "em");
>
>
Why do you need this?

Garrett

Received on Monday, 23 March 2009 17:55:25 UTC