Summary: | [Qt] getMatchedCSSRules returns null if second argument is not specified. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alex Karpenko <alexkarpenko> | ||||||
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | alexkarpenko, kling | ||||||
Priority: | P2 | Keywords: | Qt | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac (Intel) | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Created attachment 63851 [details]
Qt project that reproduces the bug [USE THIS ONE]
This has been fixed a long time ago and will be part of the upcoming QtWebKit 2.1 |
Created attachment 63850 [details] Qt project that reproduces the bug getMatchedCSSRules returns null only if the 2nd argument is not specified. So: getMatchedCSSRules(element); // returns null getMatchedCSSRules(element, ''); // returns the CSSRuleList as expected In chrome and safari the above two statements both produce the latter result.