Closed Bug 79836 Opened 24 years ago Closed 24 years ago

document.styleSheets[0] has no properties

Categories

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

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: hjtoi-bugzilla, Assigned: jst)

References

()

Details

(Keywords: dom2, regression, Whiteboard: [HAVE FIX][Hixie-P2])

Attachments

(1 file)

To reproduce: 1. Load the testcase in URL. 2. Click the button. Expected: TOC should appear on the left. Actual: Nothing visible in browser, console says: JavaScript error: http://www.mozilla.org/newlayout/xml/debugdemos/tocdemo/toc.js line 118: document.styleSheets[0] has no properties I suspect this is because of the xpcdom changes. It works fine in commercial build 05/02.
No longer blocks: 47319
Keywords: regression
This breaks "View | Use Stylesheet". For example, go to http://libpr0n.com/ and pick "Use Stylesheet" from the "View" menu - it says "None" but there should be a "Green" option and a "Blue" option.
Blocks: html4.01
Whiteboard: [Hixie-P2]
Attached patch proposed fixSplinter Review
Status: NEW → ASSIGNED
Whiteboard: [Hixie-P2] → [HAVE FIX][Hixie-P2]
Target Milestone: --- → mozilla0.9.1
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified using http://libpr0n.com/
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: