Closed Bug 2317 Opened 26 years ago Closed 26 years ago

Layout error -- <P> inside of <UL> breaks <TABLE>

Categories

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

Other
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rekle, Assigned: rickg)

References

()

Details

It appears that the text from the section entitled "Decisions" is overrunning the gray area on the left. (The gray area on the left runs top to bottom in IE.
Summary: Layout error → Layout error -- <P> inside of <UL> breaks <TABLE>
Notes: 1) added a little more description to the summary 2) Tested on nightly build Jan 12 Win95 optimized. 3) this is a regression from (at least the Jan 5 build). 4) this should probably be Component:Parser (not Layout) The following test case shows the problem: <P> inside of <UL> causes premature close of the table. <HTML><HEAD></HEAD><BODY> <TABLE BORDER=1> <TR> <TD BGCOLOR="#DDDDDD" VALIGN=TOP> The Mozilla Organization </TD> <TD> <P> <!-- remove this P and no table bustage, or ... --> <ul> <li> Finally getting some traction ... </li> <P> <!-- ... or remove this P and no table bustage --> <li> Posted a strawman ... </li> </ul> Decisions <ul> <li> We thought we had ... </li> </ul> </TD> </TR> </TABLE> </BODY></HTML>
Assignee: troy → rickg
Component: Layout → Parser
The content model is incorrect, and everything starting with "Decisions" is moved outside of the table. Here's a dump of the content model: HTML refcount=6< HEAD refcount=2< > BODY refcount=3< Text refcount=3<\n> TABLE BORDER=1 refcount=7< TBODY refcount=3< TR refcount=3< TD BGCOLOR=#dddddd VALIGN=top refcount=4< Text refcount=4< The Mozilla Organization > > TD refcount=4< Text refcount=3<\n > P refcount=3< Text refcount=3< \n > UL refcount=3< Text refcount=3<\n > LI refcount=4< Text refcount=4< Finally getting some traction ...\n > > Text refcount=3<\n > > > P refcount=3< Text refcount=3< \n > > LI refcount=4< Text refcount=3< Posted a strawman ... \n > > Text refcount=3<\n > > > > > Text refcount=3<\n \n Decisions\n > UL refcount=3< Text refcount=3<\n > LI refcount=4< Text refcount=3< We thought we had ...\n > > Text refcount=3<\n > > Text refcount=3<\n \n \n \n\n\n\n> > >
Status: NEW → ASSIGNED
#2404 and #2309 and #2317 are all variations on the same theme (note: #2317 also leads to table bustage)
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Summary: Layout error -- <P> inside of <UL> breaks <TABLE> → Layout error -- <P> inside of <UL> breaks <TABLE>
verified
You need to log in before you can comment on or make changes to this bug.