Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Detect keyword 'linear' on lines containing word 'animation' too - #10989

Merged
marcelgerber merged 3 commits into
adobe:masterfrom
petetnt:linear-keyword-detection-fix
Jun 20, 2015
Merged

marcelgerber merged 3 commits into
adobe:masterfrom
petetnt:linear-keyword-detection-fix

Conversation

@petetnt

@petetnt petetnt commented Apr 23, 2015

Copy link
Copy Markdown
Collaborator

Fixes #10984

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should actually be between parenthesis, like this: (transition|animation).*?[: ,]linear[ ,;]

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yeah you are correct there, don't remember what I was thinking there!

@marcelgerber marcelgerber self-assigned this Jun 19, 2015
@marcelgerber

Copy link
Copy Markdown
Contributor

Could you also add a unit test for this?

@petetnt

petetnt commented Jun 19, 2015

Copy link
Copy Markdown
Collaborator Author

@marcelgerber for the unit tests, should these tests be just repeated with the animation keyword (the unit tests are the same, just with different word IIRC) or should the existing tests be modified to test for both the ´transition" and "animation" keywords?

@marcelgerber

Copy link
Copy Markdown
Contributor

It's probably enough to just repeat one or two unit tests with the animation keyword.

@petetnt

petetnt commented Jun 20, 2015

Copy link
Copy Markdown
Collaborator Author

Added the unit tests

@marcelgerber

Copy link
Copy Markdown
Contributor

Thanks!
Merging.

marcelgerber added a commit that referenced this pull request Jun 20, 2015
Detect keyword 'linear' on lines containing word 'animation' too
@marcelgerber
marcelgerber merged commit 7159b14 into adobe:master Jun 20, 2015
@petetnt
petetnt deleted the linear-keyword-detection-fix branch June 20, 2015 13:52
@petetnt

petetnt commented Jun 20, 2015

Copy link
Copy Markdown
Collaborator Author

👍 awesome

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS Timing Function Quick Edit: linear is invalid syntax

2 participants