Bug 148466 - [-webkit-text-combine]Render incorrectly
Summary: [-webkit-text-combine]Render incorrectly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 8
Hardware: Unspecified iOS 8.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-25 23:12 PDT by Zhang Lei
Modified: 2022-07-14 14:42 PDT (History)
2 users (show)

See Also:


Attachments
This is issue html (857 bytes, text/html)
2015-08-25 23:12 PDT, Zhang Lei
no flags Details
This is safari debug. (103.50 KB, image/png)
2015-08-25 23:13 PDT, Zhang Lei
no flags Details
This is issue text. (9.00 KB, image/png)
2015-08-25 23:13 PDT, Zhang Lei
no flags Details
Invalid rendering (13.43 KB, image/png)
2022-07-14 14:41 PDT, Brent Fulgham
no flags Details
Expected output (19.58 KB, image/png)
2022-07-14 14:42 PDT, Brent Fulgham
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>