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

Support vendor prefix keyframes rule. #16553

Merged
merged 1 commit into from Apr 21, 2017

Conversation

@hiikezoe
Copy link
Contributor

hiikezoe commented Apr 21, 2017

If there are multiple prefixed/non-prefixed @Keyframes with the same name;

  • non-prefixed rule overrides earlier rules.
  • prefixed rule overrides earlier prefixed rules.

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


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #__ (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

Hiroyuki Ikezoe
If there are multiple prefixed/non-prefixed @Keyframes with the same name;

* non-prefixed rule overrides earlier rules.
* prefixed rule overrides earlier prefixed rules.
@hiikezoe
Copy link
Contributor Author

hiikezoe commented Apr 21, 2017

Already reviewed by @emilio .

@cbrewster
Copy link
Member

cbrewster commented Apr 21, 2017

@bors-servo delegate+

@bors-servo
Copy link
Contributor

bors-servo commented Apr 21, 2017

✌️ @hiikezoe can now approve this pull request

@hiikezoe
Copy link
Contributor Author

hiikezoe commented Apr 21, 2017

Thank you!

@hiikezoe
Copy link
Contributor Author

hiikezoe commented Apr 21, 2017

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

bors-servo commented Apr 21, 2017

📌 Commit 973d828 has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Apr 21, 2017

Testing commit 973d828 with merge 85aba7a...

bors-servo added a commit that referenced this pull request Apr 21, 2017
Support vendor prefix keyframes rule.

If there are multiple prefixed/non-prefixed @Keyframes with the same name;

* non-prefixed rule overrides earlier rules.
* prefixed rule overrides earlier prefixed rules.

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

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

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

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

bors-servo commented Apr 21, 2017

☀️ 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: emilio
Pushing 85aba7a to master...

@bors-servo bors-servo merged commit 973d828 into servo:master Apr 21, 2017
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
@hiikezoe hiikezoe deleted the hiikezoe:vendor-prefix-keyframes branch Apr 21, 2017
@hiikezoe hiikezoe mentioned this pull request Apr 21, 2017
0 of 5 tasks complete
bors-servo added a commit that referenced this pull request Apr 21, 2017
Servo does not need to support -moz-keyframes

<!-- Please describe your changes on the following line: -->
In #16553 I did innocently add a support for @-moz-keyframes but as @SimonSapin pointed out, servo does not need to support -moz prefix one.
Whereas, I think servo should support @-webkit-keyframes since it is described in web
compatibility [1].

[1] https://compat.spec.whatwg.org/#css-at-rules

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/16557)
<!-- Reviewable:end -->
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

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