diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 21:13:59 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 21:13:59 +0000 |
commit | 9a346eeda5ae9c43219000c695f881924fad5c1d (patch) | |
tree | 4f3bfc76c5ef20bd6b0df5a003efd61c42b2a534 /include | |
parent | 081c8b365001d9ec9df0f06ba5025dd621c8e4ec (diff) | |
download | libcss-9a346eeda5ae9c43219000c695f881924fad5c1d.tar.gz libcss-9a346eeda5ae9c43219000c695f881924fad5c1d.tar.bz2 |
Compute absolute values for all length properties.
Make initial border-*-color match the computed color.
Compute correct value of display/float wrt position.
svn path=/trunk/libcss/; revision=8317
Diffstat (limited to 'include')
-rw-r--r-- | include/libcss/computed.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h index 0d0350e..9d7a073 100644 --- a/include/libcss/computed.h +++ b/include/libcss/computed.h @@ -421,7 +421,10 @@ static inline uint8_t css_computed_outline_width( return (bits & 7); } - return CSS_OUTLINE_WIDTH_MEDIUM; + *length = INTTOFIX(2); + *unit = CSS_UNIT_PX; + + return CSS_OUTLINE_WIDTH_WIDTH; } #undef OUTLINE_WIDTH_MASK #undef OUTLINE_WIDTH_SHIFT |