Closed
Bug 61338
Opened 24 years ago
Closed 24 years ago
dynamic addition of STYLE element does not create a style sheet
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Core
DOM: CSS Object Model
Tracking
()
Future
People
(Reporter: martin.honnen, Assigned: jst)
Details
(Keywords: dom2)
Attachments
(1 file)
799 bytes,
text/html
|
Details |
According to
http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.html#StyleSheets-Association
you should be able to associate a style sheet dynamically with an HTML document
by creating and adding a STYLE element.
Mozilla however adds the LINK element but doesn't
create a style sheet in document.styleSheets so that you are unable to add style
rules.
IE5 does well in creating a style sheet for the LINK element but has an non DOM
compliant way to add rules.
Reporter | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
--> Future for now.
OS: other → All
Hardware: PC → All
Target Milestone: --- → Future
Updated•24 years ago
|
Component: DOM Level 2 → DOM Style
Comment 3•24 years ago
|
||
Taking QA Contact on all open or unverified DOM Style bugs...
QA Contact: vidur → ian
Comment 4•24 years ago
|
||
Actually, a dup...
*** This bug has been marked as a duplicate of 34849 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•