On Fri, Nov 11, 2011 at 11:38, Oliver Hunt <oli...@apple.com> wrote:
> But ignoring that, the decision we made at last november's meeting was that 
> DOM attributes would be specified as setters on the prototype, so
>
> someElement.style.{background:"blue", border: "2px solid black"}
>
> would add to own properties to the style instance, but not actually change 
> the style properties in the CSSOM, as .{ shares the normal object literal 
> semantic of only performing own property assignment.

Yeah, sorry for being hand wavey here. The intended behavior I
envisioned would be [[Put]] and not define property. Maybe that is
pushing the limits too far?

-- 
erik
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to