blob: 8d04c1622c7d4c1a6a0f86a298dac6d2a159c08a [file] [log] [blame]
<style>
.c1::after { float: left; content: open-quote; }
.c1:first-letter { display: table-column; }
.c1[class~="c1"] { display: -webkit-inline-box; }
</style>
<script>
var parentDiv = document.createElement('div');
var childDiv = document.createElement('div');
parentDiv.setAttribute('class', 'c1');
document.documentElement.appendChild(parentDiv);
parentDiv.appendChild(childDiv);
parentDiv.appendChild(document.createTextNode('PASS if no exception or crash'));
document.documentElement.offsetHeight; // forces a layout
parentDiv.removeChild(childDiv);
if (window.testRunner)
testRunner.dumpAsText();
</script>