W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css-om] CSSStyleDeclaration.parentElement

From: Simon Pieters <simonp@opera.com>
Date: Tue, 06 Aug 2013 12:48:57 +0200
To: "www-style@w3.org" <www-style@w3.org>, Fran├žois REMY <francois.remy.dev@outlook.com>
Message-ID: <op.w1d5nvuoidj3kv@simons-macbook-pro.local>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC