summaryrefslogtreecommitdiff
path: root/src/select/computed.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-01-10 15:21:06 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-01-10 15:21:06 +0000
commita3737b84a9ab76421cca972139b2ec5a6572ab72 (patch)
tree7c7f4d8e3715ecc80b1a1f9fb42eef9ff654f74e /src/select/computed.h
parentfaf8b75e949c891738fb3a2e404e37c6a76ae252 (diff)
downloadlibcss-a3737b84a9ab76421cca972139b2ec5a6572ab72.tar.gz
libcss-a3737b84a9ab76421cca972139b2ec5a6572ab72.tar.bz2
Various changes for orphans and widows properties:
+ Keep as int internally, rather than css_fixed. + Fix get_widows to return widows instead of orphans. + Remove duplicate implementations in css_computed_ getters.
Diffstat (limited to 'src/select/computed.h')
-rw-r--r--src/select/computed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/computed.h b/src/select/computed.h
index 1f2cded..58964af 100644
--- a/src/select/computed.h
+++ b/src/select/computed.h
@@ -95,8 +95,8 @@ typedef struct css_computed_page {
*/
uint8_t bits[2];
- css_fixed widows;
- css_fixed orphans;
+ int32_t widows;
+ int32_t orphans;
} css_computed_page;
struct css_computed_style {