blob: c1d3272b6ad143f45ca9fac8af3f848697e847a6 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>
ul.menu li:first-letter { color: green; }
</style>
<p>Test passes if it does not CRASH with --run-layout-test.</p>
<div contenteditable>
<ul class="menu">
<li>Appetizers</li>
</ul>
</div>
<script>
print("TEST");
var iframe = document.createElement('iframe');
iframe.src = window.location;
document.body.appendChild(iframe);
if (window.parent !== window)
window.parent.document.querySelector('iframe').remove()
</script>