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

stylo: Stop restyling display: none elements, remove the has_changed hack that made us use ReconstructFrame unconditionally. #12757

Merged
merged 12 commits into from Aug 11, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

stylo: Don't return unconditionally true for has_changed

  • Loading branch information
emilio committed Aug 9, 2016
commit 40df81d5376e356096c3f44b381a2070f59fd74a
@@ -194,10 +194,9 @@ impl<'ln> TNode for GeckoNode<'ln> {
unimplemented!()
}

fn has_changed(&self) -> bool {
// FIXME(bholley) - Implement this to allow incremental reflows!
true
}
// NOTE: This is not relevant for Gecko, since we get explicit restyle hints
// when a content has changed.
fn has_changed(&self) -> bool { false }

unsafe fn set_changed(&self, _value: bool) {
unimplemented!()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.