User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; MALNJS; rv:11.0) like Gecko Steps to reproduce: Suppose you're about to try to implement shims or polyfills for the CSSStyleDeclaration class. You add a getter and a setter to CSSStyleDeclaration.prototype. Actual results: You suddenly face a very annoying problem: it's impossible, given a style object, to get a reference back to the element/pseudo-element it refers to. Expected results: A first milestone towards fixing this problem involves implementing the CSSPseudoElement interface from the CSS PSeudo-Elements Module (http://dev.w3.org/csswg/css-pseudo/#CSSPseudoElement-interface). Then, a proporty could be added to CSSStyleDeclaration named "parentElement" returning a DOM-equivalent of the value that is already available to the browser itself.
Component: Untriaged → CSS Parsing and Computation
OS: Windows 8.1 → All
Product: Firefox → Core
Hardware: x86_64 → All
Version: unspecified → Trunk
Component: CSS Parsing and Computation → DOM: CSS Object Model
You need to log in before you can comment on or make changes to this bug.