In this example, the result would be a white foreground color because the user style sheet overrides the browser style sheet, and in the absence of a author declaration that will be used. The background will also be white because that is the color specified by the author, which overrides all declarations by the browser and user. This demonstrates why it is important to always specify a background color with the foreground color. Finally, the font size would be 16 pixels because that is what the browser specifies and neither the user nor author contradict it. The weight sort sorts declarations according to their weight.
Declarations can have normal weight or important weight.
If there are still conflicting values for a given property of an element, the specificity sort prevails. The highest number wins. Style specified via the style attribute has infinite specificity. If styles have the same weight, origin and specificity, those specified at the beginning of the style sheet take precedence over those at the start. Inline style is assumed to be read after embedded style, which is read after linked style.