Closed
Bug 62863
Opened 24 years ago
Closed 24 years ago
Strange underlining behavior
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: nplatis, Assigned: clayton)
Details
Attachments
(1 file)
364 bytes,
text/html
|
Details |
The attached file contains two links and some fiddling with styles and mixing tags. In NS and IE the first link is rendered with no underlining and the second underlined. In Mozilla both links are underlined. Which behavior is correct? Is it related to Bug 1777 ? (The testcase is adapted from some existing page, which contained only the first set of HTML tags and appeared undecorated in NS but (uglily) underlined in Mozilla)
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
This is related to bug 1777 in that this is actually the part of the issue covered in 1777 that works correctly. The CSS specification says at http://www.w3.org/TR/REC-CSS2/text.html#lining-striking-props that the text-decoration property spans children. Mozilla's handling is correct -- the underline of the <a> spans the <strong> and its enclosed text. IE and Netscape both handle this wrong. If someone wants to have no text-decoration on text inside a link, they need to set "text-decoration:none" on the <a> element itself. Marking invalid, since Mozilla is doing what it should be.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•