RESOLVED FIXED299818
[text shaping] Overflowing glyph gets clipped
https://bugs.webkit.org/show_bug.cgi?id=299818
Summary [text shaping] Overflowing glyph gets clipped
alan
Reported 2025-09-29 13:11:57 PDT
ssia
Attachments
Patch (3.02 KB, patch)
2025-09-29 13:14 PDT, alan
no flags
Patch (3.27 KB, patch)
2025-09-30 07:52 PDT, alan
no flags
[fast-cq]Patch (3.34 KB, patch)
2025-09-30 14:03 PDT, alan
no flags
alan
Comment 1 2025-09-29 13:14:24 PDT
Antti Koivisto
Comment 2 2025-09-30 02:08:00 PDT
Comment on attachment 476897 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=476897&action=review > Source/WebCore/rendering/TextBoxPainter.cpp:672 > + auto clipRect = [&] { > + // We could also just use ink overflow here but since non-range painting > + // sets up no clipping, we should not do that either here. > + auto rect = FloatRect::infiniteRect(); > + rect.setX(m_paintRect.x()); > + rect.setWidth(m_paintRect.width()); > + return rect; > + }; Should the first and last box of a range only clip to one inline side?
alan
Comment 3 2025-09-30 07:52:55 PDT
alan
Comment 4 2025-09-30 14:03:21 PDT
Created attachment 476906 [details] [fast-cq]Patch
EWS
Comment 5 2025-10-01 05:37:39 PDT
Committed 300823@main (bd08842b09e0): <https://commits.webkit.org/300823@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 476906 [details].
Radar WebKit Bug Importer
Comment 6 2025-10-01 05:38:32 PDT
Radar WebKit Bug Importer
Comment 7 2025-10-01 05:38:32 PDT
Note You need to log in before you can comment on or make changes to this bug.