summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcss/computed.h7
-rw-r--r--include/libcss/properties.h10
2 files changed, 17 insertions, 0 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h
index 51fcb12..843795e 100644
--- a/include/libcss/computed.h
+++ b/include/libcss/computed.h
@@ -388,6 +388,13 @@ uint8_t css_computed_page_break_before(
uint8_t css_computed_page_break_inside(
const css_computed_style *style);
+uint8_t css_computed_orphans(
+ const css_computed_style *style,
+ int32_t *orphans);
+
+uint8_t css_computed_widows(
+ const css_computed_style *style,
+ int32_t *widows);
#ifdef __cplusplus
}
diff --git a/include/libcss/properties.h b/include/libcss/properties.h
index 5257e19..feba9ce 100644
--- a/include/libcss/properties.h
+++ b/include/libcss/properties.h
@@ -585,6 +585,11 @@ enum css_overflow_e {
CSS_OVERFLOW_AUTO = 0x4
};
+enum css_orphans_e {
+ CSS_ORPHANS_INHERIT = 0x0,
+ CSS_ORPHANS_SET = 0x1
+};
+
enum css_padding_e {
CSS_PADDING_INHERIT = 0x0,
CSS_PADDING_SET = 0x1
@@ -718,6 +723,11 @@ enum css_white_space_e {
CSS_WHITE_SPACE_PRE_LINE = 0x5
};
+enum css_widows_e {
+ CSS_WIDOWS_INHERIT = 0x0,
+ CSS_WIDOWS_SET = 0x1
+};
+
enum css_width_e {
CSS_WIDTH_INHERIT = 0x0,
CSS_WIDTH_SET = 0x1,