Skip to content

@font-face and @property constructs in Shadow Roots #212

@Westbrook

Description

@Westbrook

Description

Whether it is @font-face or @property, an intersection of confusing spec'ing and partial implementation leaves a number of nice capabilities out of reach of shadow root users. Placing @font-face or @property within shadow roots is ignored in some browsers degrading the experience of pre-packaged web components cross browser. This is an area where WPT could also be leveraged to support not falling into this same trap with other and future @ sigil based CSS APIs.

@font-face

@Property

Rationale

The code needed to packages a custom element for reuse should be usage within the custom element package.

Specification

w3c/csswg-drafts#1995

Tests

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions