blob: aa2f4d5638fc42c528863e5f5c7a99489b93c9aa [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.layoutTestController)
window.layoutTestController.dumpAsText();
window.getSelection().setPosition(test, 0);
var color = document.queryCommandValue('backColor', false, null);
document.write('backColor: ' + color + '<br>');
document.write('PASS');
</script>
</html>