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

Request restyle display changed from none for animations #20102

Merged

Conversation

@hiikezoe
Copy link
Contributor

hiikezoe commented Feb 21, 2018

Hiroyuki Ikezoe added 4 commits Feb 21, 2018
Unlike CSS animations/transitions, script animations keep alive on display:none
elements, so once the display property was changed to others in normal
styling, we need to do styling for the script animations in the second
animation traversal.  Otherwise, the styling for the script animations will
be deferred to the next frame.
…y is changed from 'none' in the case the element has script animations
Hiroyuki Ikezoe
@highfive
Copy link

highfive commented Feb 21, 2018

Heads up! This PR modifies the following files:

  • @bholley: components/style/properties/gecko.mako.rs, components/style/gecko/generated/structs.rs, components/style/context.rs, components/style/matching.rs
  • @canaltinova: components/style/properties/gecko.mako.rs, components/style/gecko/generated/structs.rs, components/style/context.rs, components/style/matching.rs
  • @emilio: components/style/properties/gecko.mako.rs, components/style/gecko/generated/structs.rs, components/style/context.rs, components/style/matching.rs
@highfive
Copy link

highfive commented Feb 21, 2018

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!
@hiikezoe
Copy link
Contributor Author

hiikezoe commented Feb 21, 2018

@bors-servo r=emilio,birtles

@bors-servo
Copy link
Contributor

bors-servo commented Feb 21, 2018

📌 Commit 2559cfd has been approved by emilio,birtles

@bors-servo
Copy link
Contributor

bors-servo commented Feb 21, 2018

Testing commit 2559cfd with merge e68ccec...

bors-servo added a commit that referenced this pull request Feb 21, 2018
…none, r=emilio,birtles

Request restyle display changed from none for animations

<!-- Please describe your changes on the following line: -->

https://bugzilla.mozilla.org/show_bug.cgi?id=1439269

<!-- 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/20102)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 22, 2018

💔 Test failed - linux-rel-wpt

@hiikezoe
Copy link
Contributor Author

hiikezoe commented Feb 22, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Feb 22, 2018

Testing commit 2559cfd with merge 638b44e...

bors-servo added a commit that referenced this pull request Feb 22, 2018
…none, r=emilio,birtles

Request restyle display changed from none for animations

<!-- Please describe your changes on the following line: -->

https://bugzilla.mozilla.org/show_bug.cgi?id=1439269

<!-- 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/20102)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 22, 2018

@bors-servo bors-servo merged commit 2559cfd into servo:master Feb 22, 2018
2 of 4 checks passed
2 of 4 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
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.