aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2016-11-24 14:12:31 -0800
committerBobby Holley <bobbyholley@gmail.com>2016-11-24 17:07:40 -0800
commite65b1be07b6e94235e56d01ec2792ed915b9a313 (patch)
tree1a0ef84c0825e46838cb20dcca3a8d358b1848cd /components/layout_thread/lib.rs
parent992f7dddf4771cf298c3510fca82b497d2593750 (diff)
downloadservo-e65b1be07b6e94235e56d01ec2792ed915b9a313.tar.gz
servo-e65b1be07b6e94235e56d01ec2792ed915b9a313.zip
Revert restyled_previous_sibling_element tracking, and separate child preprocessing.
I realized that I fixed this issue incorrectly when the test failed before. Our design document specifies that restyle hints must be expanded by the parent before traversing children, so that we can properly apply LaterSiblings restyle hints. This includes parents that do not themselves need processing (StylingMode::Traverse). So we need to preprocess children even in the case where we don't restyle the parent. On the flip side, we do in fact know whether a child needs processing before enqueuing it, so we can skip the conservative visit I added before. MozReview-Commit-ID: AEiRzdsN0h5
Diffstat (limited to 'components/layout_thread/lib.rs')
0 files changed, 0 insertions, 0 deletions