To verify that I am not going crazy (yet), I just installed the older 3.6 version of Firefox. It displays the images as expected, without underlined whitespaces.
I tried specifying several different doctypes (4.01 strict, html5), but Firefox 8 won't ignore the whitespace. The specs say it should ignore those following a start tag and those preceding an end tag. Firefox 8 does that correctly for the a tag if it contains (only) text: no extra space is underlined. But it fails if an img is the content. ** Attachment added: "Screenshot of expected display (as Firefox 3.6 e.a. did)" https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/893827/+attachment/2605548/+files/correct_in_3.6.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893827 Title: whitespace after an img tag within an a tag is underlined To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/893827/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs