On Mon, Sep 20, 2021 at 12:47:17PM +0530, Rupesh gautam wrote:
> 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;*
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 the