diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-03 13:51:25 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-03 13:51:25 +0200 |
commit | 8fd2ae404f3f0af087217ba79ff9a35955fb026f (patch) | |
tree | bc42c1fbbb2224a52846d62111e5924ec788d0fc /dw/style.cc | |
parent | 59b3ae08f3fcd91c0792e2ea840d0072f1d73416 (diff) | |
parent | 5f1cf298395601f67afc9aff78e547d915663daf (diff) |
Merge with main repo. (But something is not working yet.)
Diffstat (limited to 'dw/style.cc')
-rw-r--r-- | dw/style.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/style.cc b/dw/style.cc index 1c2978b4..830613fa 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -76,6 +76,7 @@ void StyleAttrs::initValues () minWidth = maxWidth = minHeight = maxHeight = LENGTH_AUTO; vloat = FLOAT_NONE; clear = CLEAR_NONE; + overflow = OVERFLOW_VISIBLE; position = POSITION_STATIC; top = bottom = left = right = LENGTH_AUTO; textIndent = 0; @@ -107,6 +108,7 @@ void StyleAttrs::resetValues () textAlignChar = '.'; vloat = FLOAT_NONE; /** \todo Correct? Check specification. */ clear = CLEAR_NONE; /** \todo Correct? Check specification. */ + overflow = OVERFLOW_VISIBLE; position = POSITION_STATIC; /** \todo Correct? Check specification. */ top = bottom = left = right = LENGTH_AUTO; /** \todo Correct? Check specification. */ @@ -168,6 +170,7 @@ bool StyleAttrs::equals (object::Object *other) { textTransform == otherAttrs->textTransform && vloat == otherAttrs->vloat && clear == otherAttrs->clear && + overflow == otherAttrs->overflow && position == otherAttrs->position && top == otherAttrs->top && bottom == otherAttrs->bottom && @@ -225,6 +228,7 @@ int StyleAttrs::hashValue () { textTransform + vloat + clear + + overflow + position + top + bottom + @@ -352,6 +356,7 @@ void Style::copyAttrs (StyleAttrs *attrs) textTransform = attrs->textTransform; vloat = attrs->vloat; clear = attrs->clear; + overflow = attrs->overflow; position = attrs->position; top = attrs->top; bottom = attrs->bottom; |