Closed Bug 45958 Opened 24 years ago Closed 24 years ago

DIV inside P causes rendering to end

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: run2000, Assigned: rickg)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m17) Gecko/20000719
BuildID:    2000071920

In the URL given, there is a DIV inside a long paragraph. When the DIV element
is closed, the rest of the page should render. In Mozilla, the rest of the page
does not appear.

Reproducible: Always

Steps to Reproduce:
1. Launch Mozilla
2. Go to the URL above.

Actual Results:  The page should show some indented content under the "1993"
line, followed by more consecutive years going back to 1970.

Expected Results:  Mozilla does not show any content below the indented lines.

The test case was originally an attachment for bug 36826.
The document uses the strict doctype declaration and is thus considered non-quirky. 
According to the spec <p> cannot contain any block-level elements.

http://www.w3.org/TR/html4/struct/text.html#h-9.3.1

Marking invalid.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Source code problem not ours. Marking as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.