Hi, I was trying out libcss and found that the following code snippet returns value multiplied by 1024.
*css_unit unit;* *css_fixed val;css_computed_margin_top(styles[0], &val, &unit);std::cout << val << std::endl;* For example: if my margin is set to 2px, returned *Val *would be 2048. Is there a function that can return actual values (Not bit-shifted values)? if not, then could you please confirm that all CSS values are left-shifted by 10 bits. in that case, I can right shift for all the values. Regards
_______________________________________________ netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org To unsubscribe send an email to netsurf-dev-le...@netsurf-browser.org