Re: libcss selection question

2020-04-16 Thread Michael Drake
Hi Paul, When you have a computed style, you can't tell anything about the specificity of the individual properties. The way to handle this is to provide the `node_presentational_hint` callback [1]. When it is called, you look at the node's attributes and set any appropriate styles as `css_hint`

libcss selection question

2020-04-16 Thread Paul
Hi all! How can a user of libcss distinguish between these two situations: a) property was defined using a default value in CSS and b) property was undefined in CSS for the node. Those are different because in a latter case the value of that property should be taken from a node attribute (in