From a3737b84a9ab76421cca972139b2ec5a6572ab72 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 10 Jan 2014 15:21:06 +0000 Subject: 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. --- src/select/computed.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/select/computed.h') 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 { -- cgit v1.2.3