gecko-dev/layout/style/crashtests/1396041.html
Hiroyuki Ikezoe 76c1b26215 Bug 1396041 - Disassociate element from document before destroying animations in UnbindFromTree(). r=birtles
This allows us to avoid posting animation-related restyles when removing
elements from the document tree.

MozReview-Commit-ID: CzN4S0DTUMa

--HG--
extra : rebase_source : a5b94d9ad5b1b2243abd0a5b188eec2b334df74d
2017-09-04 12:24:07 +09:00

10 lines
385 B
HTML

<script>
document.documentElement.appendChild(document.createElement("meter"))
a = document.createElement("textarea")
document.documentElement.appendChild(a)
b = document.createElement("style")
b.appendChild(document.createTextNode("*::-moz-meter-bar { text-indent: calc(50%); scroll-behavior: smooth; transition-duration: 250ms; }"))
a.select()
document.head.appendChild(b)
</script>