[Webkit-unassigned] [Bug 270664] New: @font-face rules in shadow trees should not leak outside to document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 7 15:00:26 PST 2024


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

            Bug ID: 270664
           Summary: @font-face rules in shadow trees should not leak
                    outside to document
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: stearns at adobe.com

I have a PR up at WPT with a bunch of tests around @font-face and shadow trees:

https://github.com/web-platform-tests/wpt/pull/44993

These are based on the spec (https://drafts.csswg.org/css-scoping/#shadow-names) which WebKit gets right much more than the other engines (all but two of the tests pass) but @font-face names are meant to be tree-scoped, which WebKit does not do. So the two tests (001 and 005) that check that a @font-face rule defined in a shadow tree does not get used when referred to by the outside document fail in WebKit.

-- 
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/20240307/ee1f57e7/attachment.htm>


More information about the webkit-unassigned mailing list