diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-04-13 11:43:13 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-04-13 11:43:13 +0000 |
commit | 89ef7a8acf13143ac0283aa1cfa5ea504b92324b (patch) | |
tree | 26564857b03f2c495a05073d3418af7f7a4a5d99 /src/select/computed.h | |
parent | 3f008ebef592b39c93b21dd66dfbe2fd23b6860e (diff) | |
download | libcss-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 'src/select/computed.h')
-rw-r--r-- | src/select/computed.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/select/computed.h b/src/select/computed.h index 6f19051..f891047 100644 --- a/src/select/computed.h +++ b/src/select/computed.h @@ -87,13 +87,16 @@ typedef struct css_computed_uncommon { typedef struct css_computed_page { /* - * page_break_after 3 - * page_break_before 3 - * page_break_inside 2 - * --- - * 8 bits + * Bit allocations: + * + * 76543210 + * 1 aaabbbii page_break_after | page_break_before | page_break_inside + * 2 ......wo widows | orphans */ - uint8_t bits[1]; + uint8_t bits[2]; + + css_fixed widows; + css_fixed orphans; } css_computed_page; struct css_computed_style { |