Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. #18893

Merged
merged 4 commits into from Jan 5, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

style: Fix propagation of the can_be_fragmented bit on Servo.

This was bogus before, but seems like the right thing to do.
  • Loading branch information
emilio committed Jan 4, 2018
commit 3bbd80d3abbfec516ee77b75f387a499bc1c8c56
@@ -413,6 +413,15 @@ trait PrivateMatchMethods: TElement {
}
}

#[cfg(feature = "servo")]
{
// We may need to set or propagate the CAN_BE_FRAGMENTED bit
// on our children.
if old_values.is_multicol() != new_values.is_multicol() {
return ChildCascadeRequirement::MustCascadeChildren;
}
}

// We could prove that, if our children don't inherit reset
// properties, we can stop the cascade.
ChildCascadeRequirement::MustCascadeChildrenIfInheritResetStyle
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.