Re: [cssom] Proposal for obtaining robust style information via Javascript - getStyle()

* L. David Baron wrote:
>I'd actually rather have separate methods or (probably preferably)
>getters for each sort of value we'd want to return (the set is
>pretty small) than have string arguments for "specified",
>"computed", etc.
>
>For example, maybe something like:
>  element.specifiedStyle.color
>  element.computedStyle.color
>  element.usedStyle.color
>  element.pseudoStyle("::before").specifiedStyle.color

I am wondering how people would react if one was to suggest to allow

  element.computedStyle.color

and also

  element.computedStyle("::before").color
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Wednesday, 6 February 2013 23:16:54 UTC