aboutsummaryrefslogtreecommitdiff
path: root/dw/style.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-09-14 11:34:19 +0200
committerSebastian Geerken <devnull@localhost>2012-09-14 11:34:19 +0200
commite4367b16dc131f34936bbb8fd09557b5aa5acbd7 (patch)
tree487a35941bf20bbc95a3d0b1dee420b00771f5b6 /dw/style.hh
parentabd446c2eebe1f96764b6d95f1c6c61ae9bc40b2 (diff)
parent94e451ffa5ece79a3b071ee553650bf8bd869a46 (diff)
Merge of <http://hg.dillo.org/dillo>.
Diffstat (limited to 'dw/style.hh')
-rw-r--r--dw/style.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/dw/style.hh b/dw/style.hh
index 370d8d1b..6b492793 100644
--- a/dw/style.hh
+++ b/dw/style.hh
@@ -247,12 +247,20 @@ enum VAlignType {
VALIGN_TEXT_BOTTOM,
};
+enum TextTransform {
+ TEXT_TRANSFORM_NONE,
+ TEXT_TRANSFORM_CAPITALIZE,
+ TEXT_TRANSFORM_UPPERCASE,
+ TEXT_TRANSFORM_LOWERCASE,
+};
+
/**
* \todo Incomplete. Has to be completed for a CSS implementation.
*/
enum DisplayType {
DISPLAY_BLOCK,
DISPLAY_INLINE,
+ DISPLAY_INLINE_BLOCK,
DISPLAY_LIST_ITEM,
DISPLAY_NONE,
DISPLAY_TABLE,
@@ -453,6 +461,7 @@ public:
TextAlignType textAlign;
VAlignType valign;
char textAlignChar; /* In future, strings will be supported. */
+ TextTransform textTransform;
FloatType vloat; /* "float" is a keyword. */
ClearType clear;
@@ -474,6 +483,10 @@ public:
int x_link;
int x_img;
Tooltip *x_tooltip;
+ char x_lang[2]; /* Either x_lang[0] == x_lang[1] == 0 (no language
+ set), or x_lang contains the RFC 1766 country
+ code in lower case letters. (Only two letters
+ allowed, currently.) */
void initValues ();
void resetValues ();