Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(ngAnimate): cleanup vendor prefixes handling in tests #15406

Closed
wants to merge 1 commit into from

Conversation

mgol
Copy link
Member

@mgol mgol commented Nov 17, 2016

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Chore

What is the current behavior? (You can also link to an open issue here)
-webkit-prefixed rules are sometimes added manually in ngAnimate tests and sometimes not accounted for at all.

What is the new behavior (if this is a feature change)?
ss.addPossiblyPrefixedRule is used where applicable, automatically handling the -webkit- prefix. Manually added prefixes have been removed.

Does this PR introduce a breaking change?
No

Please check if the PR fulfills these requirements

Other information:

  1. Change all transition/transform/animation-related ss.addRule to
    ss.addPossiblyPrefixedRule to account for the -webkit- prefix.
  2. Remove manually added -webkit-prefixed rules in favor of automatically
    handling them in ss.addPossiblyPrefixedRule.

@Narretz
Copy link
Contributor

Narretz commented Nov 17, 2016

Are they even prefixed anymore in current Chrome? Couldn't we just get rid of them?

@Narretz Narretz added this to the Backlog milestone Nov 17, 2016
@mgol
Copy link
Member Author

mgol commented Nov 17, 2016

It's not about Chrome but Android Browser. Which we should start testing on
one day. :)

On Thu, 17 Nov 2016 at 18:33, Martin Staffa [email protected]
wrote:

Are they even prefixed anymore in current Chrome? Couldn't we just get rid
of them?


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#15406 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABrUnmAkLyNH5WumKt7MnnujciUYYMvvks5q_JABgaJpZM4K1N2p
.

Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

1. Change all transition/transform/animation-related ss.addRule to
   ss.addPossiblyPrefixedRule to account for the -webkit- prefix.
2. Remove manually added -webkit-prefixed rules in favor of automatically
   handling them in ss.addPossiblyPrefixedRule.

Closes angular#15406
@mgol mgol force-pushed the animate-spec-cleanup branch from 41a5b43 to 36901c6 Compare November 23, 2016 12:42
@mgol mgol closed this in c549210 Nov 23, 2016
@mgol mgol deleted the animate-spec-cleanup branch November 23, 2016 13:31
ellimist pushed a commit to ellimist/angular.js that referenced this pull request Mar 15, 2017
1. Change all transition/transform/animation-related ss.addRule to
   ss.addPossiblyPrefixedRule to account for the -webkit- prefix.
2. Remove manually added -webkit-prefixed rules in favor of automatically
   handling them in ss.addPossiblyPrefixedRule.

Closes angular#15406
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants