On Sep 18, 2010, at 12:39 PM, François Sausset wrote: > If, in a RenderObject method (let's say addChild() or layout()), I change a > style property that should be inherited (for instance style()->setColor()), > the corresponding style property of the children is not updated.
As a rule, you shouldn’t mutate RenderStyle objects (unless you are CSSStyleSelector or you created the RenderStyle yourself). For all you know, the style may be shared with other nodes. > What should I do to propagate the style change? > I tried unsuccessfully setNeedsStyleRecalc(). What are you trying to do? _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

