Closed Bug 202610 Opened 22 years ago Closed 21 years ago

underlining for link is much longer than text

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 164700

People

(Reporter: chrisw, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401 Obfuscated email address (to make it a little more difficult for spammers to collect the address) is not rendered properly. The underlining goes beyond the text. IE gets it right and Mozilla gets the text right and the same as IE but it gets the underlining wrong. The following HTML fragment is not rendered correctly: <a HREF="mailto:chrisw@ncf.ca" style="word-spacing: -.25em">c&nbsp;h&nbsp;r&nbsp;i&nbsp;s&nbsp;w&nbsp;@&nbsp;n&nbsp;c&nbsp;f&nbsp;.&nbsp;c&nbsp;a</a> Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Underlining was longer than the text. Expected Results: Underlining should have been the same length as the text.
Related to bug 164700?
Gotta love the HTML that MS Word produces... the relevant line is: <a HREF="mailto:chrisw@ncf.ca" style="word-spacing: -.25em">c&nbsp;h&nbsp;r&nbsp;i&nbsp;s&nbsp;w&nbsp;@&nbsp;n&nbsp;c&nbsp;f&nbsp;.&nbsp;c&nbsp;a</a> Looks like the <a> frame reflows based on the wrong size (does not apply the word-spacing till it's painting). You can even click on the part past the text....
Assignee: roc+moz → block-and-inline
Status: UNCONFIRMED → NEW
Component: Layout: View Rendering → Layout: Block & Inline
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Attached file testcase
*** This bug has been marked as a duplicate of 164700 ***
Status: NEW → RESOLVED
Closed: 21 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: