aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-08 15:23:21 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-08 15:23:21 +0100
commit79a3a198352597ceda154ce3a5c93373967ab5bf (patch)
tree09a307efda9ae672f0336b17caff4fe7892bbd96 /src/css.hh
parent8ab7dd2af3b0230112fbdd552f9461dda6371cea (diff)
support CSS_FONT_WEIGHT_LIGHTER and CSS_FONT_WEIGHT_BOLDER
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/css.hh b/src/css.hh
index 84eba13a..c98a3850 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -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;
};