mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1383974
- Part 4: Modify test for tooltip for animation-timing-function. r=pbro
MozReview-Commit-ID: BYr5dLw61DZ --HG-- extra : rebase_source : 2e0c4277f43c0fd0ceab6d7e4c7d4f75d04c6115
This commit is contained in:
parent
da64729896
commit
1d33654619
@ -43,6 +43,16 @@ add_task(function* () {
|
||||
ok(!title.match(/Overall easing: /),
|
||||
"The tooltip doesn't show the easing if it is 'linear'");
|
||||
}
|
||||
if (state.animationTimingFunction && state.animationTimingFunction !== "ease") {
|
||||
is(state.type, "cssanimation",
|
||||
"The animation type should be CSS Animations if has animation-timing-function");
|
||||
ok(title.match(/Animation timing function: /),
|
||||
"The tooltip shows animation-timing-function");
|
||||
} else {
|
||||
ok(!title.match(/Animation timing function: /),
|
||||
"The tooltip doesn't show the animation-timing-function if it is 'ease'"
|
||||
+ " or not CSS Animations");
|
||||
}
|
||||
if (state.fill) {
|
||||
ok(title.match(/Fill: /), "The tooltip shows the fill");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user