gecko-dev/gfx/tests/crashtests/1651882.html
Glenn Watson 0e562b9314 Bug 1651882 - Fix panic when casting large float to i32. r=nical
The test case in this bug has a perspective transform that results
in a readback rect for a mix-blend-mode at a very large origin.

Previous code would cast this to an i32, which was causing a
panic inside euclid.

However, the `readbacks` array is no longer even used by the
renderer, so a very simple fix in this case is to remove that
array altogether, which removes the cast code that panics.

Differential Revision: https://phabricator.services.mozilla.com/D92162
2020-10-05 21:37:34 +00:00

25 lines
467 B
HTML

<html class="reftest-wait">
<style>
:not(th) {
-webkit-perspective: 5px;
-webkit-box-shadow: -moz-default-color 1px 0px;
-webkit-transform: translate(0px, 84px) scale(48);
mix-blend-mode: lighten;
}
</style>
<script>
window.onload = () => {
a.show()
}
setTimeout('document.documentElement.className = ""', 300);
</script>
<dialog id="a" style="border-left-style: hidden">
<button>
<dir>a</label>
<details open>
</details>
</dir>
</button>
</dialog>
</html>