Bug 1342316 - A crashtest which has calc() method in translate3d function as base style of transform animation. r?heycam
MozReview-Commit-ID: HZHctZyq2k4
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1342316-1.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html class="reftest-wait">
+<title>calc() in translate3d as base style of transform animation</title>
+<style>
+#target {
+ width: 100px; height: 100px;
+ background: blue;
+ animation: anim 1s;
+ transform: translate3d(100px, calc(10px + 30%), 10px);
+}
+@keyframes anim {
+ to { transform: translate3d(0px, 0px, 0px); }
+}
+</style>
+<div id="target"></div>
+<script>
+document.getElementById("target").addEventListener("animationstart", () => {
+ document.documentElement.classList.remove("reftest-wait");
+});
+</script>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -165,9 +165,10 @@ load 1315889-1.html
load 1315894-1.html
load 1319072-1.html
HTTP load 1320423-1.html
load 1321357-1.html
load 1328535-1.html
load 1331272.html
HTTP load 1333001-1.html
pref(dom.animations-api.core.enabled,true) load 1340344.html
+load 1342316-1.html
load 1356601-1.html