diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 20:59:22 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 20:59:22 +0100 |
commit | 448efdf236c5224047250af97238279f8f29a2aa (patch) | |
tree | ae23b2ca721972bc89904da3fe13abfb96e221d3 /src/css.hh | |
parent | c34bff4996a888b92e6d546b82a388f787325470 (diff) |
switch font-weight handling to new multi type system
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -168,15 +168,11 @@ typedef union { } CssPropertyValue; typedef enum { - CSS_FONT_WEIGHT_LIGHTER = -1, - CSS_FONT_WEIGHT_BOLDER = -2, - CSS_FONT_WEIGHT_STEP = 300, - /* Some special font weights. */ - CSS_FONT_WEIGHT_LIGHT = 100, - CSS_FONT_WEIGHT_NORMAL = 400, - CSS_FONT_WEIGHT_BOLD = 700, - CSS_FONT_WEIGHT_MIN = 100, - CSS_FONT_WEIGHT_MAX = 900, + CSS_FONT_WEIGHT_BOLD, + CSS_FONT_WEIGHT_BOLDER, + CSS_FONT_WEIGHT_LIGHT, + CSS_FONT_WEIGHT_LIGHTER, + CSS_FONT_WEIGHT_NORMAL, } CssFontWeightExtensions; /** |