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

Make list-style-type animatable #18018

Merged
merged 2 commits into from
Aug 9, 2017

Conversation

hiikezoe
Copy link
Contributor

@hiikezoe hiikezoe commented Aug 9, 2017

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

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors

This change is Reviewable

Hiroyuki Ikezoe added 2 commits August 9, 2017 17:34
set_list_style_type() for gecko needs an additional argument 'Device' [1], and
making list-style-type animtable makes AnimatedProperty::update() call the
set_list_style_type(). To avoid introducing the Device argument to the setter in
servo, this patch makes simply PropertyAnimation conditional build.
(Whereas in stylo, we don't use the setter for animation, we use clone_xx()
instead.)

[1] https://hg.mozilla.org/mozilla-central/file/1d042bcb2632/servo/components/style/properties/properties.mako.rs#l2667
@highfive
Copy link

highfive commented Aug 9, 2017

Heads up! This PR modifies the following files:

  • @bholley: components/style/lib.rs, components/style/properties/longhand/list.mako.rs, components/style/properties/helpers/animated_properties.mako.rs, components/style/context.rs
  • @canaltinova: components/style/lib.rs, components/style/properties/longhand/list.mako.rs, components/style/properties/helpers/animated_properties.mako.rs, components/style/context.rs
  • @emilio: components/style/lib.rs, components/style/properties/longhand/list.mako.rs, components/style/properties/helpers/animated_properties.mako.rs, components/style/context.rs

@highfive
Copy link

highfive commented Aug 9, 2017

warning Warning warning

  • These commits modify style 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 Aug 9, 2017
@hiikezoe
Copy link
Contributor Author

hiikezoe commented Aug 9, 2017

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

📌 Commit d3c86e7 has been approved by emilio

@highfive highfive assigned emilio and unassigned Manishearth Aug 9, 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 Aug 9, 2017
@bors-servo
Copy link
Contributor

⌛ Testing commit d3c86e7 with merge f6aa17a...

bors-servo pushed a commit that referenced this pull request Aug 9, 2017
Make list-style-type animatable

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1388652
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: emilio
Pushing f6aa17a to master...

@bors-servo bors-servo merged commit d3c86e7 into servo:master Aug 9, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 9, 2017
@hiikezoe hiikezoe deleted the list-style-type-animatable branch August 9, 2017 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants