Pass | Commits styles | Asserts runPass | assert_approx_equals(0.2, 0.2, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits styles for individual transform properties | Asserts runPass | assert_equals("200px", "200px")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:64:3) | Pass | assert_equals("90deg", "90deg")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:65:3) | Pass | assert_approx_equals(3, 3, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits styles for an animation that has been removed | Asserts runPass | assert_approx_equals(0.2, 0.2, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits shorthand styles | Asserts runPass | assert_equals("20px", "20px")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:105:3) |
|
Pass | Commits logical properties | Asserts runPass | assert_equals("20px", "20px")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:122:3) |
|
Pass | Commits logical properties as physical properties | Asserts runPass | assert_equals("20px", "20px")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:139:3) |
|
Pass | Commits values calculated mid-interval | Asserts runPass | assert_approx_equals(0.45, 0.45, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits variable references as their computed values | Asserts runPass | assert_approx_equals(0.5, 0.5, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) | Pass | assert_approx_equals(0.5, 0.5, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits custom variables | Asserts runPass | assert_approx_equals(0.8, 0.8, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits em units as pixel values | Asserts runPass | assert_approx_equals(100, 100, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) | Pass | assert_approx_equals(100, 100, 0.0001, "Changes to the font-size should have no effect")
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits relative line-height | Asserts runPass | assert_approx_equals(15, 15, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) | Pass | assert_equals("1.5", "1.5", "line-height is committed as a relative value")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:222:3) | Pass | assert_approx_equals(30, 30, 0.0001, "Changes to the font-size should affect the committed line-height")
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commits transforms | Asserts runPass | assert_equals("matrix(1, 0, 0, 1, 20, 20)", "matrix(1, 0, 0, 1, 20, 20)")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:239:3) |
|
Pass | Commits transforms as a transform list | Asserts runPass | assert_equals("translate(20px, 20px)", "translate(20px, 20px)")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:251:3) |
|
Pass | Commits matrix-interpolated relative transforms | Asserts runPass | assert_equals("matrix(2, 0, 0, 2, 100, 0)", "matrix(2, 0, 0, 2, 100, 0)", "Resolved transform is correct after commit.")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:267:3) |
|
Pass | Commits "none" transform | Asserts runPass | assert_equals("none", "none", "Resolved transform is correct after commit.")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:281:3) |
|
Pass | Commits the intermediate value of an animation in the middle of stack | Asserts runPass | assert_approx_equals(0.4, 0.4, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Commit composites on top of the underlying value | Asserts runPass | assert_approx_equals(0.5, 0.5, 0.0001, undefined)
at assert_numeric_style_equals ( /web-animations/interfaces/Animation/commitStyles.html:19:10) |
|
Pass | Triggers mutation observers when updating style | Asserts runPass | assert_equals(1, 1, "Should have one mutation record")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:413:3) | Pass | assert_equals("attributes", "attributes")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:416:3) | Pass | assert_equals("opacity: 0.1;", "opacity: 0.1;")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:417:3) |
|
Pass | Does NOT trigger mutation observers when the change to style is redundant | Asserts runPass | assert_equals(0, 0, "Should have no mutation records")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:445:3) |
|
Pass | Throws if the target element is a pseudo element | Asserts runPass | assert_throws_dom("NoModificationAllowedError", function "() => { animation.commitStyles(); }")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:459:3) |
|
Pass | Throws if the target element is not something with a style attribute | Asserts runPass | assert_throws_dom("NoModificationAllowedError", function "() => { animation.commitStyles(); }")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:475:3) |
|
Pass | Throws if the target effect is display:none | Asserts runPass | assert_throws_dom("InvalidStateError", function "() => { animation.commitStyles(); }")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:491:3) |
|
Pass | Throws if the target effect's ancestor is display:none | Asserts runPass | assert_throws_dom("InvalidStateError", function "() => { animation.commitStyles(); }")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:508:3) |
|
Pass | Treats display:contents as rendered | Asserts runNo asserts ran |
Pass | Treats display:contents in a display:none subtree as not rendered | Asserts runPass | assert_throws_dom("InvalidStateError", function "() => { animation.commitStyles(); }")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:542:3) |
|
Pass | Throws if the target effect is disconnected | Asserts runPass | assert_throws_dom("InvalidStateError", function "() => { animation.commitStyles(); }")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:556:3) |
|
Pass | Checks the pseudo element condition before the not rendered condition | Asserts runPass | assert_throws_dom("NoModificationAllowedError", function "() => { animation.commitStyles(); }")
at Test.<anonymous> ( /web-animations/interfaces/Animation/commitStyles.html:571:3) |
|