blob: ec5b750956d42d862cec128feeab4f6dda97e097 [file] [log] [blame] [edit]
<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>