Bug 234816

Summary: Repaint issues with font-palette / colored Ahem
Product: WebKit Reporter: Dominik Röttsches (drott) <d-r>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=6274
Attachments:
Description Flags
Example of repaint issues with color Ahem when modifying font-palette none

Description Dominik Röttsches (drott) 2022-01-03 06:44:36 PST
Created attachment 448229 [details]
Example of repaint issues with color Ahem when modifying font-palette

Safari TP Release 137 (Safari 15.4, WebKit 17613.1.11.8)

1) Open http://wpt.live/css/css-fonts/font-palette-13.html
2) Inspect element on colored Ahem Square
3a) Disable font-palette in Style or
3b) Change fontsize between 48px to 54px up and down, step by step by using arrow up/down

Actual:
1) Remaining red lines stuck on top and below of Ahem block
Comment 1 Radar WebKit Bug Importer 2022-01-10 06:45:22 PST
<rdar://problem/87338124>
Comment 2 Myles C. Maxfield 2022-02-04 01:59:28 PST
I don't think this has anything to do with palettes, but is just due to the fact that the glyphs paint right up to their layout bounds.