Skip to content

Comments

Update effect properties for animations#16147

Merged
bors-servo merged 4 commits intoservo:masterfrom
hiikezoe:update-effect-properties
Mar 27, 2017
Merged

Update effect properties for animations#16147
bors-servo merged 4 commits intoservo:masterfrom
hiikezoe:update-effect-properties

Conversation

@hiikezoe
Copy link
Contributor

@hiikezoe hiikezoe commented Mar 27, 2017

This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1350754

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because it's for stylo

This change is Reviewable

Hiroyuki Ikezoe added 4 commits March 27, 2017 17:31
…imations or not.

If an element has any type of animations in match_elements(), we need to call
UpdateEffectProperties() to update KeyframeEffectReadOnly::mProperties.
…s in a SequentialTask.

The UpdateAnimationsTasks is a bitflags and each bit is generated from
Gecko's UpdateAnimationsTasks (enum class) values for matching values
between C++ and Rust. For this reason, the bitflags is annotated as
(feature = "gecko"), as a result update_animations() which uses this bitflags
also became gecko-only function.
@highfive
Copy link

Heads up! This PR modifies the following files:

  • @bholley: components/style/gecko_bindings/bindings.rs, components/style/gecko_bindings/structs_debug.rs, components/style/build_gecko.rs, components/style/gecko_bindings/structs_release.rs, components/style/dom.rs, components/style/gecko/wrapper.rs, components/style/context.rs, components/style/matching.rs
  • @KiChjang: components/script/layout_wrapper.rs
  • @fitzgen: components/script/layout_wrapper.rs
  • @emilio: components/style/gecko_bindings/bindings.rs, components/style/gecko_bindings/structs_debug.rs, components/style/build_gecko.rs, components/style/gecko_bindings/structs_release.rs, components/style/dom.rs, components/style/gecko/wrapper.rs, components/style/context.rs, components/style/matching.rs

@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify style and script code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 27, 2017
@hiikezoe
Copy link
Contributor Author

Have been reviewed by @heycam .

@upsuper
Copy link
Contributor

upsuper commented Mar 27, 2017

@bors-servo delegate+

@bors-servo
Copy link
Contributor

✌️ @hiikezoe can now approve this pull request

@hiikezoe
Copy link
Contributor Author

Thank you!
@bors-servo r=heycam

@bors-servo
Copy link
Contributor

📌 Commit 2513c8e has been approved by heycam

@highfive highfive assigned heycam and unassigned cbrewster Mar 27, 2017
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Mar 27, 2017
@bors-servo
Copy link
Contributor

⌛ Testing commit 2513c8e with merge 1e2b36a...

bors-servo pushed a commit that referenced this pull request Mar 27, 2017
Update effect properties for animations

<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1350754
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] These changes do not require tests because it's for stylo

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

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

💔 Test failed - linux-rel-css

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Mar 27, 2017
@bors-servo
Copy link
Contributor

⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev are reusable. Rebuilding only linux-rel-css...

@bors-servo
Copy link
Contributor

💔 Test failed - linux-rel-css

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Mar 27, 2017
@hiikezoe
Copy link
Contributor Author

@bors-servo retry

@bors-servo
Copy link
Contributor

⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev are reusable. Rebuilding only linux-rel-css...

@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: heycam
Pushing 1e2b36a to master...

@bors-servo bors-servo merged commit 2513c8e into servo:master Mar 27, 2017
@hiikezoe hiikezoe deleted the update-effect-properties branch April 19, 2017 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants