In article
<ofc4cfbe13.ff734988-onc1257b83.004c479d-c1257b83.004c4...@solog.net>,
   <[email protected]> wrote:

> When I retrieve some css properties, the value of length is not exactly
> equal to the value in my css file. For instance, I set 300% for the
> letter-spacing in my css file but the returned value is 307200. Is that
> normal ?

For letter spacing I'd expect percentage values to be rejected as
invalid.  Also, note that values will be in css_fixed format.  You can use
libcss/fpmath.h to convert.  e.g. FIXTOINT or FIXTOFLT.

-- 

Michael Drake (tlsa)                  http://www.netsurf-browser.org/

Reply via email to