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)
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.
See also bug 10458. VERIFIED invalid.