ladybird/Tests/LibWeb/Ref/input/text-overflow.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

18 lines
413 B
HTML

<!doctype html>
<link rel="match" href="../expected/text-overflow.html" />
<style>
div {
overflow: hidden;
white-space: nowrap;
width: 75px;
}
.clip {
text-overflow: clip;
}
.ellipsis {
text-overflow: ellipsis;
}
</style>
<div class="clip">This text gets clipped</div>
<div class="ellipsis">This text gets an ellipsis</div>
<div class="ellipsis" style="width: 0px">Invisible</div>