Closed Bug 279214 Opened 20 years ago Closed 20 years ago

Incorrect underlines on line-wrapped URLs with padding-left, right

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ori, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

URL's that use the padding-right and/or padding-left styles display the text and
 underlines incorrectly.

It is broken with URL's specifically - using "text-decoration: underline" on a
<div> does not cause the problem.

Reproducible: Always

Steps to Reproduce:
See attached testcase.
Actual Results:  
Only the underlines adhere the padding-left or padding-right styles after
line-wrapping. The text is not padded.

Expected Results:  
URL's should behave just like <div>'s (see attachment for comparisons).
Do not forget RTL layouts, if they have seperate code.
Attached file testcase
Although I can reproduce this with Firefox 1.0, this bug WORKSFORME on the
trunk, please download a nightly build and try that before reporting bugs.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
My mistake. Trunk indeed does not show the underline error, but URL's are not
padded like the <div>'s. Is that intentional?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: