Spurious space on moderncv \cventry using \ifSorry to revive this question, but I just noticed that when using \detailstrue and the % after the opening brace, the code doesn't work. And if one does not uses the % then a spurious space appears. Any thoughts?

forest “every leaf node” and “every tree node” like syntaxYes, that is correct. But those are semantics. I need a way to apply a style to several nodes, without explicitly putting it into the tree. I search the documentation, but the only have checks for the content, not sure if there is meta information regarding number of children.