summaryrefslogtreecommitdiff
path: root/src/select/computed.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-11-15 20:50:33 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-11-15 20:50:33 +0000
commitf30a2de02b63140a4f8194419cef20c7375d6756 (patch)
tree66265ad7d4d0d36956b1233e7702e79f62e4f136 /src/select/computed.h
parent4f240a620321b64354f64d07b382fdf3caa09109 (diff)
downloadlibcss-f30a2de02b63140a4f8194419cef20c7375d6756.tar.gz
libcss-f30a2de02b63140a4f8194419cef20c7375d6756.tar.bz2
Add column-rule-color to computed styles.
Diffstat (limited to 'src/select/computed.h')
-rw-r--r--src/select/computed.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/select/computed.h b/src/select/computed.h
index 12d160a..2f90985 100644
--- a/src/select/computed.h
+++ b/src/select/computed.h
@@ -20,12 +20,13 @@ typedef struct css_computed_uncommon {
* column_count 2 4
* column_fill 2 0
* column_gap 2 + 4 4
+ * column_rule_color 2 4
* letter_spacing 2 + 4 4
* outline_color 2 4
* outline_width 3 + 4 4
* word_spacing 2 + 4 4
* --- ---
- * 62 bits 48 bytes
+ * 64 bits 52 bytes
*
* Encode counter_increment and _reset as an array of name, value pairs,
* terminated with a blank entry.
@@ -49,11 +50,11 @@ typedef struct css_computed_uncommon {
* 2 bits sizeof(ptr)
*
* ___ ___
- * 71 bits 48 + 4sizeof(ptr) bytes
+ * 73 bits 52 + 4sizeof(ptr) bytes
*
- * 10 bytes 48 + 4sizeof(ptr) bytes
+ * 10 bytes 52 + 4sizeof(ptr) bytes
* ===================
- * 58 + 4sizeof(ptr) bytes
+ * 62 + 4sizeof(ptr) bytes
*
* Bit allocations:
*
@@ -67,7 +68,7 @@ typedef struct css_computed_uncommon {
* 7 cccccccc clip
* 8 ccccccoo clip | content
* 9 ccff.... column_count | column-fill | <unused>
- * 10 gggggg.. column-gap | <unused>
+ * 10 ggggggcc column-gap | column-rule-color
*/
uint8_t bits[10];
@@ -84,6 +85,7 @@ typedef struct css_computed_uncommon {
int32_t column_count;
css_fixed column_gap;
+ css_color column_rule_color;
css_computed_counter *counter_increment;
css_computed_counter *counter_reset;