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

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