[Webkit-unassigned] [Bug 228637] New: Space too large when using icon font in ::after pseudo element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 30 06:40:08 PDT 2021


            Bug ID: 228637
           Summary: Space too large when using icon font in ::after pseudo
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: benjaminkindle at yahoo.com
                CC: mmaxfield at apple.com

Created attachment 434620

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

Icon in ::after pseudo element

Safari has different behavior from other browsers when displaying an icon with a space in a ::after pseudo element. When there is an element with `::after { content: ' icon_name'}`, most browsers add a small space before the icon, but Safari adds a large space.

This seems to only be the case when the icon font used has a "zero" character with a width (normally used for the "ch" unit).

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/20210730/0d615157/attachment.htm>

More information about the webkit-unassigned mailing list