diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-12-06 16:50:00 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-12-06 16:50:00 +0000 |
commit | 8dfbff7765940524bbcf9a75f0cdb20f29d99842 (patch) | |
tree | 3215a1c8336d433bc77e6a1ded1109042898970f /src/select/computed.h | |
parent | 48ae40f07dcba76bdcbcc965717ed5fdfbf8ccb3 (diff) | |
parent | 9248aaad8d0d90bc6f9caaf8c2b797b93ba4850f (diff) | |
download | libcss-8dfbff7765940524bbcf9a75f0cdb20f29d99842.tar.gz libcss-8dfbff7765940524bbcf9a75f0cdb20f29d99842.tar.bz2 |
Merge branch 'tlsa/select-column-properties'
Diffstat (limited to 'src/select/computed.h')
-rw-r--r-- | src/select/computed.h | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/src/select/computed.h b/src/select/computed.h index e7f3742..574d36b 100644 --- a/src/select/computed.h +++ b/src/select/computed.h @@ -17,12 +17,20 @@ typedef struct css_computed_uncommon { /* * border_spacing 1 + 2(4) 2(4) * clip 2 + 4(4) + 4 4(4) + * column_count 2 4 + * column_fill 2 0 + * column_gap 2 + 4 4 + * column_rule_color 2 4 + * 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 * --- --- - * 52 bits 40 bytes + * 83 bits 60 bytes * * Encode counter_increment and _reset as an array of name, value pairs, * terminated with a blank entry. @@ -46,25 +54,29 @@ typedef struct css_computed_uncommon { * 2 bits sizeof(ptr) * * ___ ___ - * 61 bits 40 + 4sizeof(ptr) bytes + * 96 bits 62 + 4sizeof(ptr) bytes * - * 8 bytes 40 + 4sizeof(ptr) bytes + * 12 bytes 62 + 4sizeof(ptr) bytes * =================== - * 48 + 4sizeof(ptr) bytes + * 72 + 4sizeof(ptr) bytes * * Bit allocations: * * 76543210 - * 1 llllllcc letter-spacing | outline-color - * 2 ooooooob outline-width | border-spacing + * 1 llllllcc letter-spacing | outline-color + * 2 ooooooob outline-width | border-spacing * 3 bbbbbbbb border-spacing - * 4 wwwwwwir word-spacing | counter-increment | counter-reset - * 5 uuuuumm. cursor | writing-mode | <unused> + * 4 wwwwwwir word-spacing | counter-increment | counter-reset + * 5 uuuuumm. cursor | writing-mode | <unused> * 6 cccccccc clip * 7 cccccccc clip - * 8 ccccccoo clip | content + * 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 | <unused> + * 12 sswwwwww column-span | column_width */ - uint8_t bits[8]; + uint8_t bits[12]; css_fixed border_spacing[2]; @@ -77,6 +89,12 @@ typedef struct css_computed_uncommon { css_fixed word_spacing; + int32_t column_count; + 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; |