Closed
Bug 69104
Opened 24 years ago
Closed 24 years ago
Newline between <li> and <p> causes list market to disappear
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
mozilla1.0
People
(Reporter: heinlein, Assigned: attinasi)
References
()
Details
Attachments
(1 file)
120 bytes,
text/html
|
Details |
The code on the page in question sometimes does this:
<li>
<p>text</p>
... other stuff
</li>
and sometimes it does this:
<li><p>text</p></li>
The latter case displays correctly, but in the former case, the list
market disappears. It doesn't seem to matter whether the list is
ordered or unordered.
Comment 1•24 years ago
|
||
Confirming: Win98/2001021505.
Comment 2•24 years ago
|
||
Content-model for the above test case:
docshell=01210AF0
html@0127C380 refcount=6<
head@0127DFC0 refcount=2<
title@01281BA0 refcount=2<
Text@01281B30 refcount=2<List test>
>
>
Text@01281A80 refcount=3<\n>
body@01281930 refcount=3<
ul@012A8670 refcount=3<
Text@012A8600 refcount=3< >
li@02C16550 refcount=4<
Text@02C16E50 refcount=3< >
p@02C11E00 refcount=3<
Text@02C11D90 refcount=3<Item 1>
>
>
li@02C114E0 refcount=4<
p@02C11480 refcount=3<
Text@02C11410 refcount=3<Item 2>
>
>
Text@02C11260 refcount=3<\n>
>
Text@02C16680 refcount=3<\n>
>
>
The content model looks correct. That is, the parser did its job correctly. The
problem seems to be in the layout.
Note: Removing the whitespace, after the first LI, solves the problem.
Ovet to Mark.
Assignee: harishd → attinasi
Assignee | ||
Comment 4•24 years ago
|
||
Thanks - accepting.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Assignee | ||
Comment 7•24 years ago
|
||
WFM now - please advise if you are still seeing this problem somewhere. I
checked the testcase and the URL.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
verified WFM with build ID 20011213 on win2k
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•