[Webkit-unassigned] [Bug 215693] New: `font-variant-caps: all-small-caps` results in broken rendering

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 20 02:30:50 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215693

            Bug ID: 215693
           Summary: `font-variant-caps: all-small-caps` results in broken
                    rendering
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: herr.ernst at gmail.com
                CC: mmaxfield at apple.com

Created attachment 406922

  --> https://bugs.webkit.org/attachment.cgi?id=406922&action=review

test case, second paragraph is broken in safari

Setting `font-variant-caps: small-caps` enables the display of small caps if available in an OpenType font (uppercase characters are still taller than lowercase ones, see first paragraph in attached example).

(For spec see: https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-caps)

Setting `font-variant-caps: all-small-caps` should also render "uppercase" characters as low as lowercase small caps (second paragraph). This works on Firefox and Chrome, but produces weird rendering in Safari, some lines are randomly very small (tested in Safari 13 on macOS 10.15 and iOS 13).

When directly enabling the equivalent OpenType features (see third paragraph), it also works in Safari.

Please fix `font-variant-caps: all-small-caps` so that second paragraph renders like third one!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200820/974fd33a/attachment-0001.htm>


More information about the webkit-unassigned mailing list