Only check margin values explicitly set during layout test

Firefox doesn't populate unset values in the computed styles, resulting
in this test failing.