Closed Bug 297052 Opened 20 years ago Closed 19 years ago

In XHTML pages loaded from file:// protocol, onLoad is not fired if page links to non-existent stylesheet

Categories

(Core :: DOM: Events, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: me, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050607 Firefox/1.0+
and Firefox 1.0.4

If an XHTML page links to a stylesheet that doesn't exist the onload event is
never fired, see the attached testcases.

I can't think why this would be expected behaviour but I don't know much about
XHTML so I might be missing something obvious.
Attachment #185654 - Attachment description: XHTML Testcase linking to non-existent stylesheet → XHTML Testcase linking to non-existent stylesheet (run from file:// protocol)
Attachment #185655 - Attachment description: HTML Testcase linking to non-existent stylesheet → HTML Testcase linking to non-existent stylesheet (run from file:// protocol)
I can reproduce this when loading the files from a local drive but not when
loaded directly from BugZilla, changing summary/severity to reflect that.
Severity: major → normal
Summary: In XHTML pages, onLoad is not fired if page links to non-existent stylesheet → In XHTML pages loaded from file:// protocol, onLoad is not fired if page links to non-existent stylesheet
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Firefox/1.0.4
Confirmed
This worksforme with a current trunk build....
(In reply to comment #5)
> This worksforme with a current trunk build....

Same here.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: