Open
Bug 1115101
Opened 10 years ago
Updated 2 years ago
[feature-request] Implement the CSSPseudoElement interface (and then CSSStyleDeclaration.parentElement)
Categories
(Core :: DOM: CSS Object Model, defect, P5)
Core
DOM: CSS Object Model
Tracking
()
UNCONFIRMED
People
(Reporter: fremycompany_pub, Unassigned)
Details
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.
Updated•10 years ago
|
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
Comment 1•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•