[Webkit-unassigned] [Bug 255337] New: Fix WebContent crash with null String in font-feature-values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 12 07:20:59 PDT 2023


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

            Bug ID: 255337
           Summary: Fix WebContent crash with null String in
                    font-feature-values
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m_dubet at apple.com

Fix WebContent crash with null String in font-feature-values


Example:

  @font-feature-values "Plex Serif" { 
    @styleset { alt-a: 1; alt-g: 2; } 
    @stylistic { alternates: 1; } 
  }
  @font-feature-values "Dancing Script" { 
    @stylistic { alternates: 1; } 
  }
  .container1 * {
    font-variant-alternates: styleset(alt-a);
  }
  .container1 .script {
    font-variant-alternates: stylistic(alternates);
  }
  .inactive .container1 * {
    font-variant-alternates: normal;
  }


https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/OpenType_fonts_guide

-- 
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/20230412/de9b26e3/attachment.htm>


More information about the webkit-unassigned mailing list