Closed Bug 46107 Opened 24 years ago Closed 24 years ago

Page renders browser unusable

Categories

(Core :: DOM: HTML Parser, defect, P2)

x86
All
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: braden, Assigned: harishd)

Details

(Keywords: testcase, Whiteboard: [nsbeta3+] [strict dtd])

Attachments

(1 file)

Not sure what the component should be. Attempting to load this page appears to
render the application unusable. Doesn't actually bring down the app, but
effectively a crash. Page in question to follow as an attachment.
Attached file Test case
Oh yeah... This is build 2000072108.
Keywords: crash
HTML element  the test case is this:

<select><option label="1">One<option label="2">Two<option label="3">Three</select>

Assignee: asa → clayton
Component: Browser-General → HTML Element
QA Contact: doronr → petersen
There are two problems here.

1. The test case is confusing the hell out of our Strict DTD.
2. When a page cannot be displayed, Gecko doesn't draw anymore.

The second is almost certainly covered elsewhere (bug id anyone?) so lets 
focus on the first issue here.

-> Parser.

Nominating for nsbeta3 because of poor user experience. This is not 
a 'correctness' issue -- the HTML is invalid. It's not a crash, the browser 
stands solid but gecko stops drawing. It's not a leak, it's not a ui issue,
it's not a polish issue (it's rather more important than a polish issue!)...
Assignee: clayton → rickg
Severity: critical → major
Component: HTML Element → Parser
Keywords: crashnsbeta3, testcase
OS: Linux → All
QA Contact: petersen → janc
Yup... I stumbled onto this one by accident. :-)

I don't know what the verdict is as far as the browser's response to invalid
documents that claim to be 4.0 Strict--IMO, an error message would be
sufficient. In other words, I don't know that 1 is a problem. As far as 2 goes,
the current behavior ("freak out") is obviously unacceptable. :-)

If 2 is documented elsewhere and there is agreement that 1 isn't a problem, this
can probably be marked as a duplicate.
The first is a problem because even with blank documents, the parser should be
creating a content model. With this page, it freaks out completely, which is
wrong wrong wrong. (Of course, there is also the additional problem of what to
do when we *do* freak out, but that is a separate issue.)
Assigning to myself since rickg is on sabbatical.
Assignee: rickg → harishd
This should be an easy fix according to Harish.  We will make it so that the 
parser always opens up a body so that a blank page gets displayed in such cases.
Severity: major → normal
Status: NEW → ASSIGNED
Priority: P3 → P4
Whiteboard: [nsbeta3+]
Setting priority to P2.
Priority: P4 → P2
Target Milestone: --- → M18
Whiteboard: [nsbeta3+] → [nsbeta3+] [strict dtd]
Marking wont fix -- we're removing strictDTD support in 6.0.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: