summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-11-16 12:21:02 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-11-16 13:30:51 +0000
commit3cb7a56c6e0c6abce0b61a4f9169e31dbe2615b4 (patch)
tree1a4fb0aed29cb106bac4b8e25897494418d87ac8 /src
parent2e1c5c54e1a14d1ea89829f84f5b46d5cb593808 (diff)
downloadlibcss-3cb7a56c6e0c6abce0b61a4f9169e31dbe2615b4.tar.gz
libcss-3cb7a56c6e0c6abce0b61a4f9169e31dbe2615b4.tar.bz2
Fix column-fill computed style offset.
Diffstat (limited to 'src')
-rw-r--r--src/select/propget.h2
-rw-r--r--src/select/propset.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/select/propget.h b/src/select/propget.h
index 6150ff7..499f705 100644
--- a/src/select/propget.h
+++ b/src/select/propget.h
@@ -366,7 +366,7 @@ static inline uint8_t get_column_count(
#undef COLUMN_COUNT_INDEX
#define COLUMN_FILL_INDEX 8
-#define COLUMN_FILL_SHIFT 6
+#define COLUMN_FILL_SHIFT 4
#define COLUMN_FILL_MASK 0x30
static inline uint8_t get_column_fill(
const css_computed_style *style)
diff --git a/src/select/propset.h b/src/select/propset.h
index 834ed77..07ba906 100644
--- a/src/select/propset.h
+++ b/src/select/propset.h
@@ -434,7 +434,7 @@ static inline css_error set_column_count(
#undef COLUMN_COUNT_INDEX
#define COLUMN_FILL_INDEX 8
-#define COLUMN_FILL_SHIFT 6
+#define COLUMN_FILL_SHIFT 4
#define COLUMN_FILL_MASK 0x30
static inline css_error set_column_fill(
css_computed_style *style, uint8_t type)