Add missing null check to layout test compareValues
Only check margin values explicitly set during layout test

Firefox doesn't populate unset values in the computed styles, resulting
in this test failing.
Merge pull request #815 from peitschie/ff-test-fixes

Fix failing Firefox layout tests