blob: 5616e6dd99bde191dfd44927f60bed7c73f94d07 [file] [log] [blame]
tony@chromium.orgbdd63832012-08-10 09:06:20 +00001<!DOCTYPE html>
2<style>#el0::first-letter, #el0:first-child { height: 100px;}</style>
3This test passes if it doesn't crash.
4
hyatt@apple.com247170f2017-02-28 16:23:15 +00005<div id='container' contentEditable><a><img><div id="el0" style="display: inline-flex"><pre>AAAAA</pre></div></a></div>
tony@chromium.orgbdd63832012-08-10 09:06:20 +00006<script>
ojan@chromium.orga1001622012-08-10 18:24:47 +00007if (window.testRunner)
8 testRunner.dumpAsText();
tony@chromium.orgbdd63832012-08-10 09:06:20 +00009
10window.getSelection().selectAllChildren(document.getElementById('container'));
11document.execCommand('FormatBlock', false, '<h5>');
12</script>