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)
Core
DOM: CSS Object Model
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.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Updated•24 years ago
|
Assignee | ||
Comment 2•24 years ago
|
||
Nice to have, but hardly high priority. Marking Future.
Status: NEW → ASSIGNED
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: --- → Future
Reporter | ||
Updated•24 years ago
|
Component: DOM Level 2 → DOM HTML
Comment 4•22 years ago
|
||
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?
Reporter | ||
Comment 5•22 years ago
|
||
Yes, the bug hasn't changed, it's just become more serious since we also fail for HTTP now, as you point out.
Comment 6•22 years ago
|
||
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.
Description
•