mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00

Style computation should never fail. Instead, we just ignore the transformation that led to the invalid matrix.
14 lines
355 B
HTML
14 lines
355 B
HTML
<div id="foo"></div>
|
|
<script src="include.js"></script>
|
|
<script>
|
|
asyncTest(done => {
|
|
document.getElementById("foo").animate(
|
|
{ transform: ["scale(0)", "scale(0)"] },
|
|
{ duration: 1000 },
|
|
);
|
|
requestAnimationFrame(() => {
|
|
println("no crash!");
|
|
done();
|
|
});
|
|
});
|
|
</script>
|