Re: [cssom] CSS Value API

2010/4/7 Anne van Kesteren <annevk@opera.com>

> For some definition of logical that is certainly an interesting idea. It
> would however completely break the getter/setter symmetry of "px". I
> personally value that a little higher.
>

That is actually what I would have expected to happen. Maybe I missed
something in your proposal, but:

<div id="x" style="margin-top: 15%">
<script>
    var m = document.getElementById("x").style.margin.l[0].px;
    // what is the value of m here?
</script>

Eli Morris-Heft

Received on Wednesday, 7 April 2010 20:03:26 UTC