Auto merge of #15813 - canaltinova:will-change, r=upsuper,emilio

Implement parsing/serialization and glue for will-change property

Implement parsing/serialization  and glue for will-change property

---
<!-- 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
- [X] These changes fix #15706 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes

<!-- 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/15813)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-03-21 21:56:23 -07:00 committed by GitHub
commit cb1438e44f
10 changed files with 246 additions and 3 deletions

View file

@ -781,6 +781,17 @@ extern "C" {
*mut ::std::os::raw::c_void,
len: usize);
}
extern "C" {
pub fn Gecko_ClearWillChange(display: *mut nsStyleDisplay, length: usize);
}
extern "C" {
pub fn Gecko_AppendWillChange(display: *mut nsStyleDisplay,
atom: *mut nsIAtom);
}
extern "C" {
pub fn Gecko_CopyWillChangeFrom(dest: *mut nsStyleDisplay,
src: *mut nsStyleDisplay);
}
extern "C" {
pub fn Gecko_AnimationAppendKeyframe(keyframes:
RawGeckoKeyframeListBorrowedMut,