I don't believe you can use percentage values with Fx; only pixels and (I
think) em.

On Fri, Dec 10, 2010 at 4:22 AM, SamGoody <[email protected]> wrote:

> Am very confused on how set and tween figure out their numbers.
>
> Please look at: http://jsfiddle.net/S7Xpx/3/
>
> None of the examples behave as I would expect.
>
> 1. Cain should tween to a width of 100%, or 200px. Instead it tweens
> to a width of 100px.
> 2. Abel sets the width property to 100%, but that seems to be
> overridden by the style of 25% width. Is that correct? Should that be
> expected in all browsers?
> 3. Enosh's style should be 200px. But neither tween nor setStyle work.
>
> The same behavior shows in MooTools 1.2 (according to jsfiddle).
> I have this feeling that I am just missing the obvious (it's late).
>
> Please help me understand.
>
> Sam
>

Reply via email to