[Webkit-unassigned] [Bug 8131] Some properties and methods of window and document objects cannot be converted to a string

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Apr 2 12:22:59 PDT 2006


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





------- Comment #3 from browserbugs at gtalbot.org  2006-04-02 12:22 PDT -------

> Some of the properties here cannot be explicitly converted to a string:
> alert(window['CSSRule']); // OK, [object CSSRuleConstructor]

I've never seen such "window['CSSRule']" code but I know one can access css
rules in Firefox with

if(document.styleSheets && "cssRules" in document.styleSheets[0]) 
// DOM 2 CSS interface compliant
{
... code ...
};

http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleSheet-cssRules

At this precise url
<http://www.quirksmode.org/dom/w3c_css.html#access>
Peter-Paul Koch claims that Safari 1.3 supports cssRules[] collection. He gives
a testpage:
<http://www.quirksmode.org/dom/tests/stylesheets.html>

> Event object is dumped correctly in current WebKit builds, available at
> <http://nightly.webkit.org>.

<...Argh...sigh> unfortunately, I can only test my website with a Mac in an
Internet Cafe.


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