private void computeInheritedStyle ( ElementBox dest , ElementBox parent ) { NodeData newstyle = dest . getStyle ( ) . inheritFrom ( parent . getStyle ( ) ) ; dest . setStyle ( newstyle ) ; }
Computes the style of a node based on its parent using the CSS inheritance .