mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 03:56:16 +00:00
LibWeb: Fix OOB access in "text-overflow: ellipsis" clip
Fixes out of bound access to glyph run when `last_glyph_index` is 0. Fixes crashing on https://github.com/LadybirdBrowser/ladybird/pulls
This commit is contained in:
parent
c0f30f31d1
commit
fa605ef225
Notes:
github-actions[bot]
2024-08-03 17:46:29 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: fa605ef225
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/944
2 changed files with 9 additions and 5 deletions
|
@ -15,3 +15,4 @@
|
|||
</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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue