diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-12-29 18:19:22 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-12-29 19:06:20 +0000 |
commit | 30833a1ad59bc1f20a4995b23d2794be17227b51 (patch) | |
tree | 696fa80bc1fc9fcb5f20c9f283682e13bf91caf0 /src/select/computed.h | |
parent | 8bce7365823f887113c73af46ecdfee6322653f9 (diff) | |
download | libcss-30833a1ad59bc1f20a4995b23d2794be17227b51.tar.gz libcss-30833a1ad59bc1f20a4995b23d2794be17227b51.tar.bz2 |
Add break-after property support.
Diffstat (limited to 'src/select/computed.h')
-rw-r--r-- | src/select/computed.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/select/computed.h b/src/select/computed.h index 574d36b..0ca01d9 100644 --- a/src/select/computed.h +++ b/src/select/computed.h @@ -16,6 +16,9 @@ typedef struct css_computed_uncommon { /* * border_spacing 1 + 2(4) 2(4) + * break_before 4 0 + * break_after 4 0 + * break_inside 4 0 * clip 2 + 4(4) + 4 4(4) * column_count 2 4 * column_fill 2 0 @@ -30,7 +33,7 @@ typedef struct css_computed_uncommon { * outline_width 3 + 4 4 * word_spacing 2 + 4 4 * --- --- - * 83 bits 60 bytes + * 95 bits 60 bytes * * Encode counter_increment and _reset as an array of name, value pairs, * terminated with a blank entry. @@ -54,11 +57,11 @@ typedef struct css_computed_uncommon { * 2 bits sizeof(ptr) * * ___ ___ - * 96 bits 62 + 4sizeof(ptr) bytes + * 108 bits 62 + 4sizeof(ptr) bytes * - * 12 bytes 62 + 4sizeof(ptr) bytes + * 14 bytes 62 + 4sizeof(ptr) bytes * =================== - * 72 + 4sizeof(ptr) bytes + * 74 + 4sizeof(ptr) bytes * * Bit allocations: * @@ -75,8 +78,10 @@ typedef struct css_computed_uncommon { * 10 ggggggcc column-gap | column-rule-color * 11 wwwwwww. column-rule-width | <unused> * 12 sswwwwww column-span | column_width + * 13 bbbbaaaa break-before | break-after + * 14 iiii.... break-inside | <unused> */ - uint8_t bits[12]; + uint8_t bits[14]; css_fixed border_spacing[2]; |