summaryrefslogtreecommitdiff
path: root/src/select/properties/background_position.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-01-19 23:12:37 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-01-19 23:12:37 +0000
commit6a50bef84ae6a0a67e03ac1356f8d85d15fe09d6 (patch)
tree01f78f04b22517899f603787f6005f70b359271e /src/select/properties/background_position.c
parent63c21aca7c77b1d37cb64ad2b1fa76d6b0b92f48 (diff)
downloadlibcss-6a50bef84ae6a0a67e03ac1356f8d85d15fe09d6.tar.gz
libcss-6a50bef84ae6a0a67e03ac1356f8d85d15fe09d6.tar.bz2
Merge parser autogeneration and string handling refactor branch r=jmb,kinnison,vince
svn path=/trunk/libcss/; revision=11408
Diffstat (limited to 'src/select/properties/background_position.c')
-rw-r--r--src/select/properties/background_position.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/select/properties/background_position.c b/src/select/properties/background_position.c
index 6bcaa7f..9eda573 100644
--- a/src/select/properties/background_position.c
+++ b/src/select/properties/background_position.c
@@ -114,16 +114,3 @@ css_error compose_background_position(const css_computed_style *parent,
vlength, vunit);
}
-
-uint32_t destroy_background_position(void *bytecode)
-{
- uint32_t value = getValue(*((uint32_t*)bytecode));
- uint32_t extra_size = 0;
-
- if ((value & 0x0f) == BACKGROUND_POSITION_VERT_SET)
- extra_size += sizeof(css_fixed) + sizeof(uint32_t);
- if ((value & 0xf0) == BACKGROUND_POSITION_HORZ_SET)
- extra_size += sizeof(css_fixed) + sizeof(uint32_t);
-
- return sizeof(uint32_t) + extra_size;
-}