blob: 5e5f25a4fb12b4cfdb15e4bbb61105783ab484a7 [file] [log] [blame]
<html>
<body>
This is a crash test when executing backColor on a node where all of its ancestors have transparent background color. You should see PASS at the end.
<div id="test" contenteditable></div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
window.getSelection().collapse(test, 0);
var color = document.queryCommandValue('backColor', false, null);
document.write('backColor: ' + color + '<br>');
document.write('PASS');
</script>
</html>