Bug 148466

Summary: [-webkit-text-combine]Render incorrectly
Product: WebKit Reporter: Zhang Lei <zl-cool>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 8   
Hardware: Unspecified   
OS: iOS 8.4   
Attachments:
Description Flags
This is issue html
none
This is safari debug.
none
This is issue text.
none
Invalid rendering
none
Expected output none

Description Zhang Lei 2015-08-25 23:12:21 PDT
Created attachment 259933 [details]
This is issue html

This is a epub file, in which "10" is -webkit-text-combine:horizontal. If change to -epub-writing-mode:horizontal-tb, it will be correct.

In epub file, -webkit-text-combine doesn't work well. Please check my attachment, looks it will move a litter higher than normal.
Comment 1 Zhang Lei 2015-08-25 23:13:05 PDT
Created attachment 259934 [details]
This is safari debug.
Comment 2 Zhang Lei 2015-08-25 23:13:34 PDT
Created attachment 259935 [details]
This is issue text.
Comment 3 Brent Fulgham 2022-07-14 14:41:34 PDT
Created attachment 460910 [details]
Invalid rendering
Comment 4 Brent Fulgham 2022-07-14 14:42:06 PDT
Created attachment 460911 [details]
Expected output
Comment 5 Brent Fulgham 2022-07-14 14:42:30 PDT
With '-webkit-text-combine:horizontal' the "10" is rendered in a narrow font that tries to match the width of the glyphs above and below it.

With '-epub-writing-mode:horizontal-tb', the "10" is rendered as a wider block.

I have attached "desired.png" and "bug.png"
Comment 6 Radar WebKit Bug Importer 2022-07-14 14:42:41 PDT
<rdar://problem/97036205>