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