On 2010-08-04, at 13:16, Michael Drake wrote:
> 
> You need to create a selection context.  So you need to:
> 
>  + Create a selection context.
>  + Add stylesheet(s) to it.
> 
> Then:
> 
>  + Create blank computed style for the element you're selecting for.
>  + Select style for the element using the selection context, the
>    blank computed style for the element, and the DOM node handlers.
> 
> Finally:
> 
>  + Cleanup.

Thanks, that helped!

It was a lot of work, especially implementing all these callbacks;)

I still don't have one callback, I'm not sure what is it for:
css_error node_presentational_hint(void *pw, void *node,
                                                                   uint32_t 
property, css_hint *hint)

Could you explain the purpose of this callback and give some hints on how to 
implement it?

Cheers,
Lukasz

Reply via email to