[Webkit-unassigned] [Bug 83298] getMatchedCSSRules() should return null when the second argument is an unrecognized pseudo-element name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 15:31:28 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83298





--- Comment #8 from Kentaro Hara <haraken at chromium.org>  2012-04-24 15:31:27 PST ---
(In reply to comment #6)
> (In reply to comment #5)
> I couldn't find any W3C spec for this API (any pointers?). I think this was originally added for WebInspector, but web developers started using it in the wild lately. In any case it shouldn't be different from window.getComputedStyle() as far as the parameters are concerned.
> 
> In the mean time I found that getMatchedCSSRules is not supporting ':' and '::' prefixed pseudo-elements like how getComputedStyle does. My follow-up patch has fixed this issue as well.
> Let me know if you suggest separating that into a different patch.

r+ for the IDL part, given that

- getMatchedCSSRules() should match getComputedStyle()
- getComputedStyle() already uses [TreatNullAs=NullString, TreatUndefinedAs=NullString]

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