use actual SVG element for sizing.

add test for component
add test for utils
verify svgs can compute layout from CSS sizing.
verify element sizes are computed correctly.
change test SVG style to remove border since it messes with element size.