blob: 5c0ed2f22d46ed11bce06ef1f22e037dfec0da4d [file] [log] [blame]
<!DOCTYPE html>
<style>#el0::first-letter, #el0:first-child { height: 10px; }</style>
This test passes if it doesn't crash.
<div id='container' contentEditable><a><img><div id="el0" style="display: inline-flex"><pre></pre></div></a></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.querySelector('pre').textContent = 'AA\u0605';
window.getSelection().selectAllChildren(document.getElementById('container'));
document.execCommand('FormatBlock', false, '<h1>');
</script>