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

Stop ticking animations on non-dirty nodes during traversal #13866

Merged
merged 1 commit into from Oct 21, 2016

Conversation

@bholley
Copy link
Contributor

bholley commented Oct 21, 2016

See #13865.

r? @emilio


This change is Reviewable

@highfive
Copy link

highfive commented Oct 21, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/script_thread.rs
  • @fitzgen: components/script/script_thread.rs
  • @emilio: components/style/traversal.rs
Copy link
Member

emilio left a comment

r=me with that

@@ -1536,6 +1536,7 @@ impl ScriptThread {
let node = unsafe { node.get_jsmanaged().get_for_script() };
let window = window_from_node(node);

node.dirty(NodeDamage::NodeStyleDamaged);

This comment has been minimized.

Copy link
@emilio

emilio Oct 21, 2016

Member

Could you point to #13865 here too?

@bholley bholley force-pushed the bholley:expire_animations branch from 9e87bae to b493565 Oct 21, 2016
@bholley
Copy link
Contributor Author

bholley commented Oct 21, 2016

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

bors-servo commented Oct 21, 2016

📌 Commit b493565 has been approved by emilio

@bholley
Copy link
Contributor Author

bholley commented Oct 21, 2016

@bors-servo p=1

(another PR based on this one)

@bors-servo
Copy link
Contributor

bors-servo commented Oct 21, 2016

Testing commit b493565 with merge 202dfd5...

bors-servo added a commit that referenced this pull request Oct 21, 2016
Stop ticking animations on non-dirty nodes during traversal

See #13865.

r? @emilio

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13866)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 21, 2016

@bors-servo bors-servo merged commit b493565 into servo:master Oct 21, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bholley bholley deleted the bholley:expire_animations branch Oct 30, 2016
@bholley bholley restored the bholley:expire_animations branch Oct 30, 2016
@bholley bholley deleted the bholley:expire_animations branch Oct 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.