blob: 44f484e24d5d684a4acac3b9617f67d5dac4dbe4 [file] [log] [blame]
<!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>