Closed
Bug 43984
Opened 26 years ago
Closed 26 years ago
inserting html:link element doesn't load stylesheet
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: joe, Assigned: jst)
References
()
Details
Using Javascript, one should be able to create an HTML link element, set it to
point to a CSS file, append it somewhere in the document, and the CSS should
load and be applied to the document. However, this does not happen (using
M16)
The DOM Level 2 spec says that this should be possible. See here:
http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/stylesheets.html#StyleSheets-
Association
Attached is a test case that demonstrates the problem. Please note that the
test case works properly in IE5.
| Reporter | ||
Updated•26 years ago
|
| Reporter | ||
Comment 1•26 years ago
|
||
Here is the testcase:
http://www.joehewitt.com/mozilla/testcases/bug43984/dynLoadCSS.html
| Assignee | ||
Comment 3•26 years ago
|
||
*** This bug has been marked as a duplicate of 7515 ***
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
Verified duplicate.
Updated•25 years ago
|
Component: DOM Level 2 → DOM HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•