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 Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/893827

Title:
  whitespace after an img tag within an a tag is underlined

Status in “firefox” package in Ubuntu:
  New

Bug description:
  The code below renders with an underlined whitespace after the first
  and second image but not after the last image. The image links should
  be displayed without underlined whitespace, as is the case when no
  whitespace is added in the source code. This bug occurred right after
  updating to version 8 of Firefox.

  <div>
        <a href="index.php?pagina=machtiging&amp;actie=toevoegen">
                <img class="button" src="/img/icons/16x16/toevoegen.png" 
alt="toevoegen" width="16" height="16" />
        </a>
        <a title="Het overzicht van incasso machtigingen downloaden als PDF 
bestand" href="index.php?pagina=machtiging&amp;type=pdf">
                <img class="button" src="/img/icons/16x16/pdf.png" alt="PDF" 
width="16" height="16" />
        </a>
        <a title="Het overzicht van incasso machtigingen downloaden als CSV 
bestand" href="index.php?pagina=machtiging&amp;type=csv">
                <img class="button" src="/img/icons/16x16/csv.png" alt="CSV" 
width="16" height="16" />
        </a>
  </div>

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: firefox 8.0+build1-0ubuntu0.11.04.3
  ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
  Uname: Linux 2.6.38-12-generic i686
  NonfreeKernelModules: fglrx
  AddonCompatCheckDisabled: False
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  remon      1851 F.... pulseaudio
   /dev/snd/pcmC0D0p:   remon      1851 F...m pulseaudio
  BuildID: 20111115183158
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe9f4000 irq 16'
     Mixer name : 'Realtek ALC662 rev1'
     Components : 'HDA:10ec0662,10438290,00100101'
     Controls      : 34
     Simple ctrls  : 18
  Card1.Amixer.info:
   Card hw:1 'Generic'/'HD-Audio Generic at 0xfeabc000 irq 43'
     Mixer name : 'ATI R6xx HDMI'
     Components : 'HDA:1002aa01,00aa0100,00100200'
     Controls      : 4
     Simple ctrls  : 1
  Card1.Amixer.values:
   Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  Channel: release
  Date: Wed Nov 23 01:30:44 2011
  ForcedLayersAccel: False
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  IpRoute:
   192.168.2.0/24 dev eth0  proto kernel  scope link  src 192.168.2.1  metric 1 
   169.254.0.0/16 dev eth0  scope link  metric 1000 
   default via 192.168.2.254 dev eth0  proto static
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
   
   vboxnet0  no wireless extensions.
  Profiles: Profile0 (Default) - LastVersion=8.0/20111115183158 (Running)
  RfKill:
   
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/26/2007
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0403
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: M2A-MX
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0403:bd11/26/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2A-MX:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/893827/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to