Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bd08842b09e0836168878d1562723179d19e9df5
      
https://github.com/WebKit/WebKit/commit/bd08842b09e0836168878d1562723179d19e9df5
  Author: Alan Baradlay <[email protected]>
  Date:   2025-10-01 (Wed, 01 Oct 2025)

  Changed paths:
    A LayoutTests/fast/text/clipped-glyph-across-inline-boxes-expected.html
    A LayoutTests/fast/text/clipped-glyph-across-inline-boxes.html
    M Source/WebCore/rendering/TextBoxPainter.cpp

  Log Message:
  -----------
  [text shaping] Overflowing glyph gets clipped
https://bugs.webkit.org/show_bug.cgi?id=299818

Reviewed by Antti Koivisto.

m_paintRect does not include ink overflow (e.g glyph overflow) so let's only 
clip
the content in inline direction (regular text paint does not clip at all).

Test: fast/text/clipped-glyph-across-inline-boxes.html

* LayoutTests/fast/text/clipped-glyph-across-inline-boxes-expected.html: Added.
* LayoutTests/fast/text/clipped-glyph-across-inline-boxes.html: Added.
* Source/WebCore/rendering/TextBoxPainter.cpp:
(WebCore::TextBoxPainter::paintForegroundForShapeRange):

Canonical link: https://commits.webkit.org/300823@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to