diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-11-22 20:18:08 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-11-19 14:30:07 +0000 |
commit | da2c006495db400134c3e788e398cbcba1dba1d0 (patch) | |
tree | 2623cb58dc94bac1e0f37070a383bdb113eaa3c5 /src/select/computed.h | |
parent | d91bf786c42bd86a9d9159a6cd8e14e04ee29f39 (diff) | |
download | libcss-da2c006495db400134c3e788e398cbcba1dba1d0.tar.gz libcss-da2c006495db400134c3e788e398cbcba1dba1d0.tar.bz2 |
Make node data contain list of partial node styles.
Diffstat (limited to 'src/select/computed.h')
-rw-r--r-- | src/select/computed.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/select/computed.h b/src/select/computed.h index 57981b2..f77bda2 100644 --- a/src/select/computed.h +++ b/src/select/computed.h @@ -338,6 +338,10 @@ static inline css_computed_style * css__computed_style_ref( if (style == NULL) return NULL; + if (style->i.uncommon != NULL) { + style->i.uncommon->count++; + } + style->count++; return style; } |