Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe