Match spec for font-weight: bolder|lighter

Currently, bolder and lighter change font-weight in a non-compliant way
The spec ( defines
exactly what the computed values should be given the inherited weight
values, so we should match those.

The removed FIXME's for selecting the next lightest/heaviest weight from
the used font family seems to refer to behaviour from
CSS1 (, while this is replaced
with a simpler procedure for resolving bolder and lighter in font weights
in CSS2 ( and
CSS3 (link above).


Review URL:

git-svn-id: svn:// bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed