Open Bug 622297 Opened 14 years ago Updated 3 years ago

Underlining displaced downward

Categories

(Core :: Layout: Block and Inline, defect)

defect

Tracking

()

People

(Reporter: zwol, Unassigned)

References

()

Details

Attachments

(1 file)

In Firefox 4.0b8 and current trunk, some of the underlined items on http://www.tonyandalbaspizza.com/Menu.html have the underline displaced downward from where Firefox 3.6 draws it, to the point where it overlaps text on the line below. The problem is not visible when the page first loads -- the first instance that I see is for "TONY GOURMET" (between "TONY SPECIAL" and "MARGHERITA", whose underlines are being drawn in the correct location). This page is, um, not well coded. I will attempt to extract a reduced test case.
Attached file minimized test case
Here's a minimized test case. The problem seems to be with nesting <u> inside and outside font-size overrides, but note also that removing the &#10;s or switching to the HTML5 doctype changes the behavior.
Turns out this isn't actually a regression from 3.6. However, it *is* a difference from current Safari.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: