Closed Bug 98809 Opened 23 years ago Closed 23 years ago

<font><p>...</font> adds vertical space

Categories

(Core :: Layout, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 33784

People

(Reporter: kbriscoe, Assigned: attinasi)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Trivial, but I'm reporting it anyway. This code: <table width="100%" bgcolor=beige cellpadding=2> <tr> <td> <font size="1"><p>Test</p></font> </td> </tr> </table> Produces a different-looking display than this: <table width="100%" bgcolor=beige cellpadding=2> <tr> <td> <p><font size="1">Test</font></p> </td> </tr> </table> (i.e. with the P and FONT tags nested differently) I think the layout should be identical. I found an example of this on our school's website, so I figured I may as well report it.
Over to layout..
Assignee: jst → attinasi
Component: DOM HTML → Layout
QA Contact: stummala → petersen
It looks like the <font> enclosing the paragraph is acting like a block-level element, or something, as it seems to add extra line space. This may be a quirks mode thing to keep other pages from breaking, in which case I suppose it would be wontfix...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: Minor layout glitch in sloppy old HTML → <font><p>...</font> adds vertical space
*** This bug has been marked as a duplicate of 33784 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: