Don't do document style recalc unless there's a RenderView.
Created attachment 210186 [details]
Comment on attachment 210186 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=210186&action=review
Looks generally good.
> - ASSERT(!view() || !view()->isPainting());
Please don't remove the painting assert. It is valuable!
Created attachment 210188 [details]
Created attachment 210189 [details]
Comment on attachment 210189 [details]
Clearing flags on attachment: 210189
Committed r154927: <http://trac.webkit.org/changeset/154927>
All reviewed patches have been landed. Closing bug.