fix some problem with firefox.

By setting SVG 100% 100% and calculate the parent’s width and height.
Get the h. Set html, body width, height 100%.