Consider a scenario where CSS attribute is missing the unit (px, em, pt, %):
px is the most common unit used, so generally browsers use their "common sense" and use px as it is the most used unit in web designs if no unit is specified. px and move on without ignoring other styles, but there is no such rule so when you see different browsers different things they are actually implementing there own logic to counter such errors there is no one rule to follow in such scenarios. It depends on the browser on what it does.You should never rely on the browser to correct your mistake. Always rely on yourself for better cross browser compatibility