cannot access stylesheet of style element

VERIFIED FIXED in M18

Status

()

Core
DOM: CSS Object Model
P2
normal
VERIFIED FIXED
18 years ago
17 years ago

People

(Reporter: Marcell, Assigned: jst)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [nsbeta2-][nsbeta3+][HAVE FIX], URL)

Attachments

(3 attachments)

(Reporter)

Description

18 years ago
The method insertRule() should add a CSS rule (in this case, H1 { color: red })
but does not.
The problem, according ot jst's email, is that there is no way of accessing the 
stylesheet from the STYLE element.  In other words, what we don't implement is
http://www.w3.org/TR/DOM-Level-2/stylesheets.html#StyleSheets-LinkStyle .
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: DOM method insertRule() does not work → cannot access stylesheet of style element
Created attachment 10742 [details]
revised testcase
(Assignee)

Comment 3

18 years ago
Nominating for nsbeta2 & 3, we could probably live without this in beta2, but
IMO this must be fixed for beta3. Fixing this probably takes less than one hour
so it could be done for beta2...
Status: NEW → ASSIGNED
Keywords: nsbeta2, nsbeta3
Priority: P3 → P2
Target Milestone: --- → M18

Comment 4

18 years ago
Putting on [nsbeta2-] radar. Not critical to beta2. 
Whiteboard: [nsbeta2-]
(Assignee)

Updated

18 years ago
Keywords: correctness

Comment 5

18 years ago
Marking nsbeta3+
Whiteboard: [nsbeta2-] → [nsbeta2-][nsbeta3+]
(Assignee)

Comment 6

18 years ago
Created attachment 13212 [details] [diff] [review]
Proposed fix
(Assignee)

Comment 7

18 years ago
I have a fix for this (see attachment), review and checking pending...
Whiteboard: [nsbeta2-][nsbeta3+] → [nsbeta2-][nsbeta3+][HAVE FIX]
(Assignee)

Comment 8

18 years ago
Created attachment 13406 [details]
more revised testcase
(Assignee)

Comment 9

18 years ago
Fixed.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Reporter)

Comment 10

18 years ago
Verified on build 2000-08-24-06-M18 on Win98
Status: RESOLVED → VERIFIED
Component: DOM Level 2 → DOM Style
You need to log in before you can comment on or make changes to this bug.