W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2013

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 9 Feb 2013 10:31:51 -0700
Message-ID: <CAAWBYDCdCkiUzoC7UKYjdJCyy0OexN3SCPtZY6=7KqNoXKti6A@mail.gmail.com>
To: Fran├žois REMY <francois.remy.dev@outlook.com>
Cc: Cameron McCormack <cam@mcc.id.au>, Bjoern Hoehrmann <derhoermi@gmx.net>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Sat, Feb 9, 2013 at 10:29 AM, Fran├žois REMY
<francois.remy.dev@outlook.com> wrote:
>> > element.before.computedStyle.color
>>
>> Horrible idea. ^_^ Much more likely to have naming clashes, which
>> means we also have to do a compat study before naming any new
>> pseudo-element forever. There is absolutely no reason to ever
>> special-case just a few "standard" pseudos.
>
> Just to prove your point:
> http://www.w3.org/TR/dom/#dom-childnode-before

Nice.

~TJ
Received on Saturday, 9 February 2013 17:32:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:09 UTC