[Webkit-unassigned] [Bug 6619] New: Affects delta.com: getting and setting cssText property not supported for rules (only style decls)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jan 17 14:55:23 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6619

           Summary: Affects delta.com: getting and setting cssText property
                    not supported for rules (only style decls)
           Product: WebKit
           Version: 412+
          Platform: Macintosh
               URL: http://www.delta.com/
        OS/Version: Mac OS X 10.0
            Status: NEW
          Keywords: InRadar, HitList
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ggaren at apple.com


This bug is also in Radar as <rdar://3486985>

Getting and setting cssText does not work with rules, even though I recently made it work for style 
declarations. I don't have a test case for this yet, but am filing the bug to remind myself.

-------------------------------------------

<GMT02-Aug-2005 00:15:03GMT> Beth Dakin:
<rdar://problem/4199876> indicates a problem with the rendering of http://www.delta.com

The problem appears to be that they try to set cssText. It is failing at the following line in one of the 
Javascript files:

if(document.styleSheets[i].cssRules[j].cssText.indexOf("img") != -1)

And consequently does not trim the repeated images. I have attached a reduction of delta.com....it can 
probably be reduced more, but this is clear enough to see the problem. I added two alert boxes 
too...only one will appear in Safari because it aborts the Javascript before the second. They will both 
appear -- twice, in fact -- in Firefox.

-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list