diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-12-06 15:34:27 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-12-06 16:45:34 +0000 |
commit | 0cab24ffcbe59104967362219f3c831c84681f7e (patch) | |
tree | 95ea3ae0ad34f8af7aa1d0468c46a8a4c9525492 /src/select/computed.h | |
parent | 2bbbe9050fb449276e6230ce0c2b0353d04b587c (diff) | |
download | libcss-0cab24ffcbe59104967362219f3c831c84681f7e.tar.gz libcss-0cab24ffcbe59104967362219f3c831c84681f7e.tar.bz2 |
Add column-width property to computed styles.
Diffstat (limited to 'src/select/computed.h')
-rw-r--r-- | src/select/computed.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/select/computed.h b/src/select/computed.h index 05ea5fa..574d36b 100644 --- a/src/select/computed.h +++ b/src/select/computed.h @@ -24,12 +24,13 @@ typedef struct css_computed_uncommon { * column_rule_style 4 0 * column_rule_width 3 + 4 4 * column_span 2 0 + * column_width 2 + 4 4 * letter_spacing 2 + 4 4 * outline_color 2 4 * outline_width 3 + 4 4 * word_spacing 2 + 4 4 * --- --- - * 77 bits 56 bytes + * 83 bits 60 bytes * * Encode counter_increment and _reset as an array of name, value pairs, * terminated with a blank entry. @@ -53,11 +54,11 @@ typedef struct css_computed_uncommon { * 2 bits sizeof(ptr) * * ___ ___ - * 90 bits 58 + 4sizeof(ptr) bytes + * 96 bits 62 + 4sizeof(ptr) bytes * - * 12 bytes 58 + 4sizeof(ptr) bytes + * 12 bytes 62 + 4sizeof(ptr) bytes * =================== - * 68 + 4sizeof(ptr) bytes + * 72 + 4sizeof(ptr) bytes * * Bit allocations: * @@ -72,8 +73,8 @@ typedef struct css_computed_uncommon { * 8 ccccccoo clip | content * 9 ccffssss column_count | column-fill | column-rule-style * 10 ggggggcc column-gap | column-rule-color - * 11 wwwwwww. column-rule-width - * 12 ss...... column-span + * 11 wwwwwww. column-rule-width | <unused> + * 12 sswwwwww column-span | column_width */ uint8_t bits[12]; @@ -92,6 +93,7 @@ typedef struct css_computed_uncommon { css_fixed column_gap; css_color column_rule_color; css_fixed column_rule_width; + css_fixed column_width; css_computed_counter *counter_increment; css_computed_counter *counter_reset; |