From 6a50bef84ae6a0a67e03ac1356f8d85d15fe09d6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 19 Jan 2011 23:12:37 +0000 Subject: Merge parser autogeneration and string handling refactor branch r=jmb,kinnison,vince svn path=/trunk/libcss/; revision=11408 --- src/select/properties/background_position.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/select/properties/background_position.c') 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; -} -- cgit v1.2.3