summaryrefslogtreecommitdiff
path: root/css/css.h
diff options
context:
space:
mode:
Diffstat (limited to 'css/css.h')
-rw-r--r--css/css.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/css/css.h b/css/css.h
index d9701cbbe..99e9b4463 100644
--- a/css/css.h
+++ b/css/css.h
@@ -149,6 +149,16 @@ struct css_content {
/** Representation of a complete CSS 2 style. */
struct css_style {
+ /* html styles that don't translate directly to CSS */
+ struct {
+ struct {
+ enum { CSS_CELLPADDING_INHERIT,
+ CSS_CELLPADDING_VALUE,
+ CSS_CELLPADDING_NOT_SET } type;
+ int value;
+ } cellpadding;
+ } html_style;
+
/* background properties */
css_background_attachment background_attachment;
colour background_color;
@@ -368,6 +378,7 @@ struct css_style {
struct css_length length;
float percent;
} value;
+ bool override_cellpadding; /* override HTML setting */
} padding[4]; /**< top, right, bottom, left */
css_page_break_after page_break_after;