- From: Sylvain Galineau <galineau@adobe.com>
- Date: Mon, 17 Mar 2014 21:08:07 +0000
- To: Tab Atkins Jr. <jackalmage@gmail.com>
- CC: Zack Weinberg <zackw@panix.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, www-style list <www-style@w3.org>
On 3/17/14, 1:19 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote: >On Mon, Mar 17, 2014 at 12:25 PM, Sylvain Galineau <galineau@adobe.com> >wrote: >> On 3/15/14, 4:49 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote: >>>Excellent, then. I also prefer the aesthetics (not to mention >>>typeability) of --, so let's consider that the official front-runner. >> >> SGTM. But polyfills also need these custom properties to be reflected in >> the OM and getComputedStyle() results. How to I read the value of my >> custom —position or —display? (Not that I’d ever want to do such a >>thing; >> just asking for a friend…) > >Nothing's changed regarding the impossibility of using "el.style.foo", >because of the case-sensitivity. You'd have to use >.getPropertyValue() and .setPropertyValue() for now. OK. And that will work from the objects off of document.styleSheets to the style attribute, computed style etc. Per our IRC exchange moments ago, I also like the idea of being able to do el.style[‘—foo’]. (And for existing properties as well)
Received on Monday, 17 March 2014 21:08:38 UTC