[Webkit-unassigned] [Bug 224749] New: Don't use the full CSS parser for CSSFontFaceSet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 05:05:59 PDT 2021


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

            Bug ID: 224749
           Summary: Don't use the full CSS parser for CSSFontFaceSet
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clord at igalia.com
            Blocks: 224178

Currently, CSSFontFaceSet uses the full CSS parser and relies on CSSValuePool::singleton(). This makes it not immediately viable to use in a Worker, but is also probably overkill - like Canvas and OffscreenCanvas, I think CSSFontFaceSet could just use FontRaw, which would kill two birds with one stone - it'd be both faster and worker-safe.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=224178
[Bug 224178] Implement FontFace in Workers for OffscreenCanvas
-- 
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/20210419/7c22d447/attachment-0001.htm>


More information about the webkit-unassigned mailing list