Closed Bug 4825 Opened 26 years ago Closed

[4.xP]FONT FACE element effects other elements - in this case main body content gets moved down the page

Categories

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

All
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: christinehoff4, Assigned: rickg)

References

()

Details

Using 4/8 build on Win 95, Win NT, Win 98, Mac8.5 and Linux. This is an isolated case from the URL above: <html> <head> <title>stuttgart</title> </head> <body> <table border="1" cellpadding="0" cellspacing="0" width="100%"> <font face="Arial"> <tr> <td align=center>text 1<BR>text 2 </td> <td>text 3 </td> <td>text 4 <table border="1" cellpadding="0" cellspacing="0" width="100%"> <tr> <td >text 5<br><br> </td> <td>text 6 </td> </tr> </table> </td> </tr> <tr> <td>text 7<BR> </td> <td BGCOLOR="#AAAAFF">text 8<BR> </td> </tr> <tr> <td> </td> </tr> <tr> <td>text 9 </td> </tr> </table> </body> </html> Gecko (cross platform): Page does not display correctly with FONT FACE element inserted. If you take it out, page is okay. Comm 4.51, IE: Content displays properly This may be a duplicate of another bug I wrote up, #4814.
Assignee: troy → rickg
Component: Layout → Parser
Rick, this is probably known, but what's happening is that the outer table's content is just plain text and has no rows or cells. Here's a dump of the content model: html refcount=3< head refcount=2< title refcount=2< Text refcount=2<stuttgart> > > body refcount=3< Text refcount=3<\n> table border=1 cellpadding=0 cellspacing=0 width=100% refcount=4< > font face=Arial refcount=9< Text refcount=3<\n \n text 1> br refcount=3<> Text refcount=3<text 2\n \n text 3\n \n text 4\n > table border=1 cellpadding=0 cellspacing=0 width=100% refcount=7< tbody refcount=3< tr refcount=3< td refcount=4< Text refcount=3<text 5> br refcount=3<> br refcount=3<> Text refcount=3<\n > > td refcount=4< Text refcount=3<text 6\n > > > > > Text refcount=3<\n \n \n \n te xt 7> br refcount=3<> Text refcount=3<\n \n text 8> br refcount=3<> Text refcount=3<\n \n \n \n \n \n \n \n text 9\n \n \n\n\n\n> > > >
Corrected by changes to parsing engine.
Status: RESOLVED → VERIFIED
Fixed in 5/17 Build.
You need to log in before you can comment on or make changes to this bug.