| Index: LayoutTests/transitions/background-webkit-mask-crash.html
|
| diff --git a/LayoutTests/transitions/background-webkit-mask-crash.html b/LayoutTests/transitions/background-webkit-mask-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..44f484e24d5d684a4acac3b9617f67d5dac4dbe4
|
| --- /dev/null
|
| +++ b/LayoutTests/transitions/background-webkit-mask-crash.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +#test {
|
| + transition: background, -webkit-mask 1s;
|
| +}
|
| +</style>
|
| +<div id="test"></div>
|
| +<p>This tests a crash that was occuring when a transition was targeting background or -webkit-mask properties on an element that did not have any style specified for those properties. This test passes if it does not crash.</p>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +setTimeout(function() {
|
| + test.style.backgroundColor = 'green';
|
| + setTimeout(function() {
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + }, 0);
|
| +}, 0);
|
| +</script>
|
|
|