Bug 277288

Summary: Adding Glyph display list COLRv0 shared test
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fantasai.bugs, vitor.roriz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Vitor Roriz
Reported 2024-07-29 15:32:32 PDT
LayoutTests/fast/text/glyph-display-lists/glyph-display-list-colr-unshared.html tests that COLRv0 are not cached. However, after a CoreText update, WebKit had to introduce drawPath delegates for DrawGlyphsRecorderCoreText.cpp. The glyphs that are drawn as a path, and not as a glyph, by CoreText, were failing this test, because they were sharing the same display list, which seems to indicate they can be cached. Since this test is covering the unshared behavior, we should have another test for shared behavior. Another option would be to rename this test and cover both distinct behaviors on it.
Attachments
Vitor Roriz
Comment 1 2024-07-29 15:34:48 PDT
Vitor Roriz
Comment 2 2024-07-29 15:35:09 PDT
EWS
Comment 3 2024-07-29 18:05:51 PDT
Committed 281533@main (af007e7018ef): <https://commits.webkit.org/281533@main> Reviewed commits have been landed. Closing PR #31414 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.