bug 857192 - use float instead of integer CSS pixels to track available space for image. r=bz