We can do this with style properties, see bug #7583 as well.
Do you have an example for it or a hint/link for a documentation? :-)