Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6f1dbc88e5cce50f4af716f925d6eaf14bcb617
https://github.com/WebKit/WebKit/commit/e6f1dbc88e5cce50f4af716f925d6eaf14bcb617
Author: Vitor Roriz <[email protected]>
Date: 2026-08-14 (Fri, 14 Aug 2026)
Changed paths:
A
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/resources/Litherum-arabic.svg
A
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-arabic-expected.html
A
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-arabic.html
M Source/WebCore/platform/graphics/FontCascade.cpp
Log Message:
-----------
blog.rekhta.org: Text underline does not work properly for Urdu Text
https://bugs.webkit.org/show_bug.cgi?id=321816
rdar://161299983
Reviewed by Brent Fulgham.
WebKit's underline ink-skip painting exempts CJK-family scripts from per-glyph
ink
detection. Arabic-family connected scripts like Urdu Nastaliq hit the same
problem: a
single glyph's ink envelope can span nearly its full width, so skip-ink treats
most of
the underline as intersecting ink and paints only a few disconnected segments.
This
extends the CJK exception to the Arabic-family Unicode blocks.
Test:
fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-arabic.html
*
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/resources/Litherum-arabic.svg:
Added.
*
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-arabic-expected.html:
Added.
*
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-arabic.html:
Added.
* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::computeUnderlineType):
Canonical link: https://commits.webkit.org/319220@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications