Re: [css-om] CSSStyleDeclaration.parentElement

On Tue, 06 Aug 2013 00:06:58 +0200, François REMY  
<francois.remy.dev@outlook.com> wrote:

> Returns the element that host the current style declaration, if any. {  
> NOTE: This attribute is mutually exclusive with the parentRule  
> attribute, in the sense at most one of the two can return a non-null  
> value. }
>
> // would be great to add to the web platform, polyfilling  
> "someNode.style.someProperty" is a huge pain right now...

Can you elaborate on the use case?

-- 
Simon Pieters
Opera Software

Received on Tuesday, 6 August 2013 10:44:28 UTC