Bug 219735 - Implement ascent-override, descent-override, and line-gap-override
Summary: Implement ascent-override, descent-override, and line-gap-override
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-10 02:39 PST by Tobi Reif
Modified: 2021-01-08 03:33 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobi Reif 2020-12-10 02:39:31 PST
It would be very useful if you could implement ascent-override, descent-override, and line-gap-override.

More info:

https://bugs.chromium.org/p/chromium/issues/detail?id=800693
(especially comments #20, #30 and #31)

https://tobireif.com/non_site_stuff/test_case_for_font_position_report_yet_another_font/

https://www.w3.org/TR/css-fonts-4/#font-metrics-override-desc
Comment 1 Tobi Reif 2020-12-11 02:31:31 PST
Chrome supports it (tested on MacOS vs Windows).
Comment 2 Radar WebKit Bug Importer 2020-12-17 02:40:18 PST
<rdar://problem/72419793>
Comment 3 Tobi Reif 2021-01-08 03:33:03 PST
Here's one reason why it's important to implement this feature:

https://tobireif.com/posts/ensuring_the_correct_vertical_position_of_large_text/

(And there's another reason listed in the post below "Another use case".)