diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 12:59:37 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 12:59:37 +0000 |
commit | 2f5753d607a93c8ae18aab3dd675b111af7d879d (patch) | |
tree | f9c2f35073806f433a1520ec2d64cbbcb2d9fc1d /src/select/propset.h | |
parent | 39a51ce203672ead9e526592f4d35bdef5e5c728 (diff) | |
download | libcss-2f5753d607a93c8ae18aab3dd675b111af7d879d.tar.gz libcss-2f5753d607a93c8ae18aab3dd675b111af7d879d.tar.bz2 |
Query client for initial values of color, font-family, quotes, and voice-family properties.
svn path=/trunk/libcss/; revision=8306
Diffstat (limited to 'src/select/propset.h')
-rw-r--r-- | src/select/propset.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/propset.h b/src/select/propset.h index 27860f0..743297b 100644 --- a/src/select/propset.h +++ b/src/select/propset.h @@ -242,8 +242,8 @@ static inline css_error set_cursor( #undef CURSOR_INDEX #define QUOTES_INDEX 4 -#define QUOTES_SHIFT 1 -#define QUOTES_MASK 0x6 +#define QUOTES_SHIFT 2 +#define QUOTES_MASK 0x4 static inline css_error set_quotes( css_computed_style *style, uint8_t type, lwc_string **quotes) @@ -254,9 +254,9 @@ static inline css_error set_quotes( bits = &style->uncommon->bits[QUOTES_INDEX]; - /* 2bits: type */ + /* 1bit: type */ *bits = (*bits & ~QUOTES_MASK) | - ((type & 0x3) << QUOTES_SHIFT); + ((type & 0x1) << QUOTES_SHIFT); style->uncommon->quotes = quotes; |