aboutsummaryrefslogtreecommitdiff
path: root/dw/style.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/style.hh')
-rw-r--r--dw/style.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dw/style.hh b/dw/style.hh
index 41784c79..92ea0fe7 100644
--- a/dw/style.hh
+++ b/dw/style.hh
@@ -316,6 +316,13 @@ enum FontVariant {
FONT_VARIANT_SMALL_CAPS
};
+enum Position {
+ POSITION_STATIC,
+ POSITION_RELATIVE,
+ POSITION_ABSOLUTE,
+ POSITION_FIXED,
+};
+
enum TextDecoration {
TEXT_DECORATION_NONE = 0,
TEXT_DECORATION_UNDERLINE = 1 << 0,
@@ -466,6 +473,9 @@ public:
FloatType vloat; /* "float" is a keyword. */
ClearType clear;
+ Position position;
+ Length top, bottom, left, right;
+
int hBorderSpacing, vBorderSpacing, wordSpacing;
Length width, height, lineHeight, textIndent;