Commit Graph

2 Commits

Author SHA1 Message Date
Aliaksandr Kalenik
81f2405c8b 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

(cherry picked from commit fa605ef22577d92bbfc3f4a809bb1b4072bb0048)
2024-10-10 09:46:20 -04:00
Tobias Christiansen
4838d6eebe Tests: Add ref-test for "text-overflow"
(cherry picked from commit e2c9e34050bd4c6fc6c653818cbb9e9a40ed5456)
2024-10-10 06:07:37 -04:00