The idea
font-weight controls how heavy the strokes are, from 100 (thin) to 900 (black), with 400 normal and 700 bold. It changes the look of the glyphs, not the size of the box — so the geometry here is already fixed and only the syntax is checked.
font-weight does not change geometry, so the box size is pinned in the base styles — this level checks the syntax.