Bugzilla #50899: Fixed mapping of font weights between CSS values and TextAttribute.WEIGHT_*. Submitted by: Glenn Adams <glenn.at.skynav.com>