layout_thread: Don't propagate dirty bits around the tree if no styles
changed and no flows were reconstructed. This saves a tree traversal. It also has the side effect of making incremental reflow bugs of the form "a dirty bit is never cleared" less likely to ruin the performance of layout queries.