Pass | A ScrollTimeline can be created with a source | Asserts runPass | assert_equals(Element node <div class="scroller"> <div class="content"></div> </div>, Element node <div class="scroller"> <div class="content"></div> </div>)
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:42:3) |
|
Pass | A ScrollTimeline can be created with a non-scrolling source | Asserts runPass | assert_equals(Element node <div></div>, Element node <div></div>)
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:48:3) |
|
Pass | A ScrollTimeline created with a null source should have no source | Asserts runPass | assert_equals(null, null)
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:52:3) |
|
Pass | A ScrollTimeline created without a source should use the document.scrollingElement | Asserts runPass | assert_equals(Element node <html><head><meta charset="utf-8"> <title>ScrollTimeline ..., Element node <html><head><meta charset="utf-8"> <title>ScrollTimeline ...)
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:56:3) |
|
Pass | A ScrollTimeline created with the default axis should default to 'block' | Asserts runPass | assert_equals("block", "block")
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:63:3) |
|
Pass | 'block' is a valid axis value | Asserts runPass | assert_equals("block", "block")
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:78:5) |
|
Pass | 'inline' is a valid axis value | Asserts runPass | assert_equals("inline", "inline")
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:78:5) |
|
Pass | 'x' is a valid axis value | Asserts runPass | assert_equals("x", "x")
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:78:5) |
|
Pass | 'y' is a valid axis value | Asserts runPass | assert_equals("y", "y")
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:78:5) |
|
Pass | Creating a ScrollTimeline with an invalid axis value should throw | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new ScrollTimeline({axis: 'nonsense'}) }")
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:86:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new ScrollTimeline({axis: 'auto'}) }")
at Test.<anonymous> ( /scroll-animations/scroll-timelines/constructor.html:93:3) |
|