mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 17:33:04 +00:00
Now each test type has the same directories: - input - expected - data Also, tests can be in subdirectories within ./input.
18 lines
413 B
HTML
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>
|