Closed
Bug 302030
Opened 19 years ago
Closed 19 years ago
alt img text doesn't follow text-decoration css rule in link
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 193584
People
(Reporter: loufoque, Unassigned)
References
()
Details
Attachments
(1 file)
|
270 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ When a text-decoration css rule is applying to an <img> element inside a <a> element with an href attribute, the rule doesn't apply to the alternative text which is displayed when the image is not available. Reproducible: Always Steps to Reproduce: 1. See http://mangabordeaux.free.fr/alt-in-link.html 2. 3. Actual Results: test is underlined Expected Results: test is not underlined
Comment 1•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+ ID:2005072323 WFM your testcase is just wrong ->INVA
Updated•19 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•19 years ago
|
||
(In reply to comment #1) > Created an attachment (id=190418) [edit] > testcase Your testcase is the opposite of mine. This (your testcase): a { text-decoration:none} img { text-decoration:underline;border:0} works as expected (link not underlined, alt text underlined) This (approximately mine): a { text-decoration:underline} img { text-decoration:none;border:0} does NOT work, alt text gets underlined. It seems my bug description was incorrect, in fact when the <a> element has text-decoration: underline (which is the default behaviour with an <a> element with an href attribute), the alt text can't remove the underline. text-decoration: overline works as text-decoration: overline underline.
Comment 3•19 years ago
|
||
(In reply to comment #2) > It seems my bug description was incorrect, in fact when the <a> element has > text-decoration: underline (which is the default behaviour with an <a> element > with an href attribute), the alt text can't remove the underline. > text-decoration: overline works as text-decoration: overline underline. Yeah, I'm seeing the problem now. I'm not sure what the correct behaviour should be though. I guess this is a dupe of bug 193584 (see comment 3 + follow ups)
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 4•19 years ago
|
||
*** This bug has been marked as a duplicate of 193584 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•