<style>
ul.collapse {
    visibility:hidden;
}
li:first-child {
    visibility:visible;
}
</style>
<script>
window.onload = function() {
    document.designMode = 'on';
    document.execCommand('SelectAll');
    document.execCommand('Indent', false, false);
    document.body.textContent = 'PASS; NOT CRASHED';
    if (window.testRunner)
        testRunner.dumpAsText();
};
</script>
abcd<ul class="collapse"><li>xyz</li></ul>
