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

layout: Fix some particularly bad cases of spurious reflows leading to script thread unresponsiveness. #14418

Merged
merged 5 commits into from Dec 1, 2016
Next

layout_thread: Note in the debug message whether nodes require dirtying.

  • Loading branch information
pcwalton committed Dec 1, 2016
commit f97d47188f5a2a19f34c3015c40a79d87dfb3e74
@@ -1091,7 +1091,7 @@ impl LayoutThread {
}

let restyles = document.drain_pending_restyles();
debug!("Draining restyles: {}", restyles.len());
debug!("Draining restyles: {} (needs dirtying? {:?})", restyles.len(), needs_dirtying);
if !needs_dirtying {
for (el, restyle) in restyles {
// Propagate the descendant bit up the ancestors. Do this before
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.