summaryrefslogtreecommitdiff
path: root/css/css.h
diff options
context:
space:
mode:
Diffstat (limited to 'css/css.h')
-rw-r--r--css/css.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/css/css.h b/css/css.h
index a48d97ef8..b3ff34ea0 100644
--- a/css/css.h
+++ b/css/css.h
@@ -279,8 +279,12 @@ struct css_style {
enum { CSS_HEIGHT_INHERIT,
CSS_HEIGHT_AUTO,
CSS_HEIGHT_LENGTH,
+ CSS_HEIGHT_PERCENT,
CSS_HEIGHT_NOT_SET } height;
- struct css_length length;
+ union {
+ struct css_length length;
+ float percent;
+ } value;
} height;
struct {