Closed Bug 676232 Opened 10 years ago Closed 10 years ago
CSS text-decoration img Bug; Img in paragraph cant get his own styles!
1.89 KB, application/zip
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:126.96.36.199) Gecko/20110614 Firefox/3.6.18 ( .NET CLR 3.5.30729) Build ID: 20110614230723 Steps to reproduce: I tried to underline my h2 tags with css and after that i treied to remove the underline from an img which is underlined. so just look at the code and you will see! Actual results: the img object gets underlined Expected results: the img tag should not get underlined.
i tried the minimal at firefox 3.6.x and 5 but it works still fine at ie 5.5 to 8 and chrome
Maybe duplicate of Bug 403524
Should certainly revisit once that's fixed. The rendering of the testcase is certainly correct per what CSS2.1 used to say.
Depends on: 403524
Attachment #550365 - Attachment mime type: application/octet-stream → application/zip
Once bug 403524 lands, img elements won't get underlined, ever (which is what CSS 2.1 requires).
As per Comment 4, the patch for 403524 guarantees that nothing but text gets decorations.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.