WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 245579
34665
A new CSSStyleSheet cannot be created
https://bugs.webkit.org/show_bug.cgi?id=34665
Summary
A new CSSStyleSheet cannot be created
Yehuda Katz
Reported
2010-02-05 15:45:19 PST
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
Comment 1
2010-02-06 23:04:45 PST
Why is this a bug? Does this work in other browsers, or does any specification say that it should?
mitz
Comment 2
2010-02-07 16:29:03 PST
<
http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-StyleSheetCreation
>
Chris Dumez
Comment 3
2022-10-17 08:08:37 PDT
*** This bug has been marked as a duplicate of
bug 245579
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug