Bug 43697

Summary: [Qt] getMatchedCSSRules returns null if second argument is not specified.
Product: WebKit Reporter: Alex Karpenko <alexkarpenko>
Component: WebKit QtAssignee: 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:
Description Flags
Qt project that reproduces the bug
none
Qt project that reproduces the bug [USE THIS ONE] none

Alex Karpenko
Reported 2010-08-08 12:41:51 PDT
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.
Attachments
Qt project that reproduces the bug (532 bytes, application/octet-stream)
2010-08-08 12:41 PDT, Alex Karpenko
no flags
Qt project that reproduces the bug [USE THIS ONE] (1.14 KB, application/octet-stream)
2010-08-08 12:51 PDT, Alex Karpenko
no flags
Alex Karpenko
Comment 1 2010-08-08 12:51:09 PDT
Created attachment 63851 [details] Qt project that reproduces the bug [USE THIS ONE]
Andreas Kling
Comment 2 2010-08-18 20:42:13 PDT
This has been fixed a long time ago and will be part of the upcoming QtWebKit 2.1
Note You need to log in before you can comment on or make changes to this bug.