Skip to content

fix(ShadowCss): keyframes tests failing in Safari#2283

Closed
marclaval wants to merge 1 commit into
angular:masterfrom
marclaval:utKeyframes
Closed

fix(ShadowCss): keyframes tests failing in Safari#2283
marclaval wants to merge 1 commit into
angular:masterfrom
marclaval:utKeyframes

Conversation

@marclaval
Copy link
Copy Markdown
Contributor

The 2 tests were broken in both desktop and mobile Safari.
With this PR, these 2 browsers are back to green.

Comment thread modules/angular2/src/dom/dom_adapter.ts Outdated
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.

Do we really want to add this to the adapter ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It seems to be the proper place as the implementations are different in Node.js vs real browsers.

It could be done directly in the test or somewhere in test_lib if we don't want to grow the adapter too much, somethig like:

if (isPresent(this.defaultDoc().body.style) && isPresent(this.defaultDoc().body.style.animationName)) {
  //execute test
}

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.

I was also thinking about tests - probably makes sense as this should probably not be used anywhere else

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@marclaval marclaval force-pushed the utKeyframes branch 2 times, most recently from 8ec3f80 to a94d8d6 Compare June 2, 2015 14:18
@vicb
Copy link
Copy Markdown
Contributor

vicb commented Jun 2, 2015

LGTM

@vicb vicb added pr_state: LGTM action: merge The PR is ready for merge by the caretaker labels Jun 2, 2015
@marclaval marclaval closed this in 4c8e11a Jun 2, 2015
@marclaval marclaval deleted the utKeyframes branch December 11, 2017 10:19
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants