[Webkit-unassigned] [Bug 72930] New: window.getMatchedCSSRules() not supporting pseudo element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 21 23:50:46 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=72930
Summary: window.getMatchedCSSRules() not supporting pseudo
element
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Blocker
Priority: P1
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: qghc36 at motorola.com
What steps will reproduce the problem?
1. Create CSS rules that apply to an element (including pseudo-element selectors)
2. Call window.getMatchedCSSRules(domElement, pseudoElementString), with pseudoElementString corresponding to those used in step 1.
What is the expected result?
The method should return a rule list containing the rules with pseudo element/class selectors.
What happens instead?
It only returns a rule list with the non-pseudo element/class selectors.
Please provide any additional information below. Attach a screenshot if
possible.
I've provided a html page which is a demo of the bug. Additionally, it would be very convenient to be able to call this method and have it return all rules applying to the passed element for all pseudo elements/classes in one call. Further, it would also be convenient to optionally return the rule list in order of selector specificity, or provide the specificity value as a part of the CSSRule object.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list