Bug 34665
Summary: | A new CSSStyleSheet cannot be created | ||
---|---|---|---|
Product: | WebKit | Reporter: | Yehuda Katz <wycats> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, cdumez, mitz |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Yehuda Katz
When trying to create a new CSSStyleSheet, Webkit refuses, saying that CSSStyleSheetConstructor is not a constructor.
> new CSSStyleSheet
=> TypeError: Result of expression 'CSSStyleSheet' [[object CSSStyleSheetConstructor]] is not a constructor.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Why is this a bug? Does this work in other browsers, or does any specification say that it should?
mitz
<http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-StyleSheetCreation>
Chris Dumez
*** This bug has been marked as a duplicate of bug 245579 ***