PNG file text-font-BE-16.png, which shows the correct result as a raster image

Purpose of test is to determine if the font weight is being correctly selected. A number of font families are specified, which have at least two weights available. The numerical weight values (100 to 900) should show at least two different font weights, with the lighter weight on the lower numbers and the heavier weight on the larger numbers. The reference image shows bold starting at 600 (with green coloring), but this behavior is not required in a conforming implementation as the CSS2 spec does not state explicitly what numbers indicate the jump from normal to bold. However it is stated that 600 is equivalent to bold, so numbers 600 to 900 should show a heavier font weight.

The absolute keywords 'normal' and bold' are tested by the first two lines on the right hand side of the test, the third line of text is normal, to test the to 'bolder' relative keyword and the fourth line is bold, to test the 'lighter' relative keyword. Text that should be affected by the relative font weights is shown in blue.