mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 19:10:26 +00:00
fa605ef225
Fixes out of bound access to glyph run when `last_glyph_index` is 0. Fixes crashing on https://github.com/LadybirdBrowser/ladybird/pulls
18 lines
411 B
HTML
18 lines
411 B
HTML
<!doctype html>
|
|
<link rel="match" href="reference/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>
|