Closed
Bug 57225
Opened 25 years ago
Closed 23 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
(
URL
)
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•25 years ago
|
||
| Reporter | ||
Updated•25 years ago
|
| Assignee | ||
Comment 2•25 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•25 years ago
|
Component: DOM Level 2 → DOM HTML
Comment 4•24 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•23 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•23 years ago
|
||
Fixed for 1.3a by checkin for bug 107567
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•