Closed Bug 392784 Opened 17 years ago Closed 10 years ago

the underline is not rendered on correct position, if the element doesn't have text directly

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: masayuki, Unassigned)

Details

Attachments

(1 file)

Attached file testcase
If an element doesn't have text node directly but it has some children, the underline of the element isn't rendered in correct position. I.e.,

<span style="text-decoration: underline;"><span>child</span></span>

the parent span's underline is not rendered in correct position.

In the attached testcase, you should be able to see only one underline before '|'.
Flags: blocking1.9?
I see this on Linux Firefox 2 and Linux trunk.
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Flags: wanted1.9-
Flags: wanted1.9+
Flags: wanted-next+
Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0

work for me
Yeah, LGTM.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: