ladybird/Tests/LibWeb/Ref/input/textnode-segmenter-invalidation.html
Sam Atkins b7efb61fbe Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others
Now each test type has the same directories:
- input
- expected
- data

Also, tests can be in subdirectories within ./input.
2024-11-05 14:02:07 +00:00

9 lines
334 B
HTML

<!DOCTYPE html>
<head><link rel="match" href="../expected/textnode-segmenter-invalidation.html" /></head>
<textarea id="output"></textarea>
<script>
document.addEventListener('DOMContentLoaded', () => {
document.body.offsetWidth // Force layout
document.getElementById('output').value = 'a\nb';
});
</script>