[Webkit-unassigned] [Bug 89240] New: getMatchedCSSRules always returning null for parentStyleSheet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 15 12:23:05 PDT 2012


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

           Summary: getMatchedCSSRules always returning null for
                    parentStyleSheet
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jmayhew at motorola.com


Created an attachment (id=147873)
 --> (https://bugs.webkit.org/attachment.cgi?id=147873&action=review)
Test html file that shows the bug when pressing the html button.

This happens in the webkit nightly and the webkit versions for Chromium 20. The problem does not occur in Safari 5.1.7 for Chrome 19.

window.getMatchedCSSRules() should return rule object(s) that have a valid parentStyleSheet property. Recent webkit versions make this api always return a null parentStyleSheet property.

Attached is a simple test file. Pressing the button will force a call to window.getMatchedCSSRules() and will display the parentStyleSheet properties value. In Chrome 19 and Safari 5.1.7, the property is non-null. In the webkit nightly it is null.

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