blob: d8ecf25085cc268e1186cf143fb503867b7b47a0 [file] [log] [blame]
<import src="../resources/dump-as-render-tree.sky" />
<block>hello</block>
<script>
import 'dart:sky';
void main() {
// This tests custom layout of text nodes inside non-paragraphs.
// They shouldn't show up in the render tree at all, so they
// don't need laying out.
// This test passes if it doesn't crash and the render tree
// has no RenderTexts.
document.querySelector('block').setLayoutManager(() {}, () {});
}
</script>