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)

defect

Tracking

()

VERIFIED DUPLICATE of bug 34849
Future

People

(Reporter: martin.honnen, Assigned: jst)

Details

(Keywords: dom2)

Attachments

(1 file)

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.
--> Future for now.
OS: other → All
Hardware: PC → All
Target Milestone: --- → Future
Keywords: dom2
Component: DOM Level 2 → DOM Style
Taking QA Contact on all open or unverified DOM Style bugs...
QA Contact: vidur → ian
Actually, a dup... *** This bug has been marked as a duplicate of 34849 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
VERIFIED dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: