Introduce a new flag and use it to be more permissive about cousin sharing.

MozReview-Commit-ID: BCJg0Ycsy6M
This commit is contained in:
Bobby Holley 2017-08-04 17:33:26 -07:00
parent ac37f81c1f
commit 54c52910e4
4 changed files with 45 additions and 23 deletions

View file

@ -528,6 +528,9 @@ where
// evaluate the worklet code. In the case that the size hasn't changed,
// this will result in increased concurrency between script and layout.
notify_paint_worklet(context, data);
} else {
debug_assert!(data.has_styles());
data.restyle.set_traversed_without_styling();
}
// Now that matching and cascading is done, clear the bits corresponding to