Bug 182042 - 'vert' font feature is not enabled in vertical text
Summary: 'vert' font feature is not enabled in vertical text
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, WPTImpact
: 198638 (view as bug list)
Depends on:
Blocks: 246579
  Show dependency treegraph
 
Reported: 2018-01-24 01:59 PST by Myles C. Maxfield
Modified: 2023-08-27 14:04 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2018-01-24 01:59:43 PST
We should enable it when rendering vertical text.
Comment 1 Radar WebKit Bug Importer 2018-01-24 02:00:04 PST
<rdar://problem/36817474>
Comment 2 Chris Lilley 2018-03-07 15:32:07 PST
Steps to reproduce the problem:
1. Go to https://test.csswg.org/harness/test/css-fonts-3_dev/single/font-kerning-03/format/html5/
2. Compare test result to reference page (linked from the above url)

Firefox passes the test correctly. WebKit, Edge and Chrome do not


Spec text:
" When rendering with OpenType fonts, the [OPENTYPE] specification suggests that kerning be enabled by default. When kerning is enabled, the OpenType kern feature is enabled (for vertical text runs the vkrn feature is enabled instead)."
https://drafts.csswg.org/css-fonts-3/#font-kerning-prop

WebKit passes the equivalent test for horizontal text (with the `kern` feature; the bug is just in vertical text. This looks like a simple oversight.


The test case is in web platform tests, in CSS/css-fonts/font-kerning-03.html and the reference is font-kerning-03-ref.html

https://github.com/w3c/web-platform-tests/blob/master/css/css-fonts/font-kerning-03.html
https://github.com/w3c/web-platform-tests/blob/master/css/css-fonts/font-kerning-03.html
Comment 3 frankhome61 2020-02-21 16:37:48 PST
Just another reminder, WPT test https://github.com/web-platform-tests/wpt/blob/master/css/css-writing-modes/text-orientation-mixed-vrl-100-ref.html
also fails due to this issue.
Comment 4 Myles C. Maxfield 2022-07-16 20:20:03 PDT
*** Bug 198638 has been marked as a duplicate of this bug. ***