Created attachment 550365 [details]
minimal.zip - minimal style settings which doesn't work; test.html and the a text gfx
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:220.127.116.11) 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!
the img object gets underlined
the img tag should not get underlined.
i tried the minimal at firefox 3.6.x
but it works still fine at ie 5.5 to 8
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.
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.