summaryrefslogtreecommitdiff
path: root/include/libcss/computed.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-04-13 11:43:13 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-04-13 11:43:13 +0000
commit89ef7a8acf13143ac0283aa1cfa5ea504b92324b (patch)
tree26564857b03f2c495a05073d3418af7f7a4a5d99 /include/libcss/computed.h
parent3f008ebef592b39c93b21dd66dfbe2fd23b6860e (diff)
downloadlibcss-89ef7a8acf13143ac0283aa1cfa5ea504b92324b.tar.gz
libcss-89ef7a8acf13143ac0283aa1cfa5ea504b92324b.tar.bz2
Complete widows and orphans support. Thanks to James Montgomerie.
svn path=/trunk/libcss/; revision=13864
Diffstat (limited to 'include/libcss/computed.h')
-rw-r--r--include/libcss/computed.h7
1 files changed, 7 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
}