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

Bug 1349553: Account for negations of state-dependent selectors. #16093

Merged
merged 2 commits into from Mar 23, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Bug 1349553: Add a bit of debugging information to the preprocess_chi…

…ldren stage.

MozReview-Commit-ID: 7zv62MRX8dE
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
  • Loading branch information
emilio committed Mar 23, 2017
commit 2b99c76052f7325b6aa3bb5dfb6b839d6c9a96e1
@@ -567,6 +567,7 @@ fn preprocess_children<E, D>(traversal: &D,
where E: TElement,
D: DomTraversal<E>
{
trace!("preprocess_children: {:?}", element);
// Loop over all the children.
for child in element.as_node().children() {
// FIXME(bholley): Add TElement::element_children instead of this.
@@ -599,6 +600,8 @@ fn preprocess_children<E, D>(traversal: &D,
// Handle element snapshots and sibling restyle hints.
let stylist = &traversal.shared_context().stylist;
let later_siblings = restyle_data.compute_final_hint(child, stylist);
trace!(" > {:?} -> {:?}, later_siblings: {:?}",
child, restyle_data.hint, later_siblings);
if later_siblings {
propagated_hint.insert(&(RESTYLE_SELF | RESTYLE_DESCENDANTS).into());
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.