diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-08 15:23:21 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-08 15:23:21 +0100 |
commit | 79a3a198352597ceda154ce3a5c93373967ab5bf (patch) | |
tree | 09a307efda9ae672f0336b17caff4fe7892bbd96 /src/css.hh | |
parent | 8ab7dd2af3b0230112fbdd552f9461dda6371cea (diff) |
support CSS_FONT_WEIGHT_LIGHTER and CSS_FONT_WEIGHT_BOLDER
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -101,6 +101,18 @@ class CssProperty { CSS_PROPERTY_LAST } Name; + 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, + } CssFontWeightExtensions; + Name name; Value value; }; |