[css-om] CSSStyleDeclaration.parentElement

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...

Have a nice day,

Received on Monday, 5 August 2013 22:07:25 UTC