diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-01-10 15:21:06 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-01-10 15:21:06 +0000 |
commit | a3737b84a9ab76421cca972139b2ec5a6572ab72 (patch) | |
tree | 7c7f4d8e3715ecc80b1a1f9fb42eef9ff654f74e /src/select/computed.h | |
parent | faf8b75e949c891738fb3a2e404e37c6a76ae252 (diff) | |
download | libcss-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.h | 4 |
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 { |