Closed
Bug 163981
Opened 23 years ago
Closed 23 years ago
DOM CSSStyleSheet interface : insertRule() , deleteRule() is not working
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 160065
People
(Reporter: somyung, Assigned: jst)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Build Identifier: Mozilla 1.0
CSSStyleSheet : insertRule() method is not working when importRule is assigned
as first parameter.
ex)
<html>
<header>
<style>
@import "importStyle1.css";
</header>
<body>
<script>
sheet = document.styleSheets.item(0)
sheet.insertRule("@import 'myStyle.css';", 1)
</script>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•23 years ago
|
||
Browser, not bugzilla
Assignee: justdave → jst
Component: bugzilla.org → DOM Style
Product: Bugzilla → Browser
QA Contact: matty → ian
Version: unspecified → other
Comment 2•23 years ago
|
||
Fixed a while back. dup of "[FIX]dynamically adding @import rule via
insertRule() doesn't work"
*** This bug has been marked as a duplicate of 160065 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•