Closed Bug 57225 Opened 24 years ago Closed 22 years ago

document.styleSheets doesn't contain missing file: stylesheets

Categories

(Core :: DOM: CSS Object Model, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: ian, Assigned: jst)

References

()

Details

(Keywords: dom2, testcase)

Attachments

(1 file)

If you have a link to a non-existant file:// stylesheet then it won't appear in
the document.styleSheets list.

STEPS TO REPRODUCE
   Save the attachement locally.
   Open the attachement.

ACTUAL RESULTS
   document.styleSheets.item(0) will return null.

EXPECTED RESULTS
   Results should be consistent with other protocols, e.g. HTTP.
QA Contact: vidur → py8ieh=bugzilla
Nice to have, but hardly high priority. Marking Future.
Status: NEW → ASSIGNED
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: --- → Future
Keywords: dom2
Component: DOM Level 2 → DOM HTML
P5, -> DOM Style
Component: DOM HTML → DOM Style
Priority: P3 → P5
I'm seeing red for both file:// and http://, now that we filter out non-css
content (we used to parse the 404 page into a sheet).

Is this bug still relevant?
Depends on: 107567
Yes, the bug hasn't changed, it's just become more serious since we also fail
for HTTP now, as you point out.
Fixed for 1.3a by checkin for bug 107567
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: