Closed Bug 264794 Opened 20 years ago Closed 20 years ago

{inc} text-decoration underline extends outside containing block

Categories

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

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

text-decoration underline extends outside containing block.
This occurs on initial reflow only.

STEPS TO REPRODUCE:
1. load http://www.positioniseverything.net/guests/3colcomplex.html
2. resize the window so that the text "3px text-jog" is first on the second
   line of its paragraph.
3. SHIFT-Reload

The bug is 100% reproducible.
CTRL-+ CTRL-0 fixes it.

ACTUAL RESULTS:
The underline starts at the first line after the word "no" and the extends
outside the greyish box overwrites the right (pink) box and then under
"3px text-jog" text. See attached screenshot.

EXPECTED RESULTS:
I haven't analyzed it in detail, but I think it should start at the first
line but stop at the edge of the greyish box and then under "3px text-jog".
I will try to make a testcase.

PLATFORMS & BUILDS TESTED:
Mozilla 2004-10-15-05 trunk Linux.
Attached image Screenshot
Bug does NOT occur in Mozilla 1.4.1, it occurs in 1.5/1.6/1.7.2 (all on Linux).
Attached file Testcase
Note that both 'padding-left' and 'padding-right' is required.
URL and testcase WFM, 2004-11-03-05 trunk Linux. Probably fixed by bug 258126.

-> WORKSFORME
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: testcase
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: