Skip to content

Question on when we should consider :is() browser support to be at 98% #2522

@mkrause

Description

@mkrause

As per the blog post on native CSS nesting, Sass would consider emitting nesting rules using :is() when browser support for this feature is at least 98%. It links to the caniuse page as a reference for this statement, which is currently listing 95.91% of global marketshare with full support for :is().

However, as per the discussion here, any percentage reported by caniuse is capped at 97.98% due to the way it considers untracked browsers to (pessimistically) always have 0% support. This means that :is() will never reach 98% as per the default metric. If we change to "all tracked" instead, then caniuse reports 98+% support for :is().

So then, should we consider :is() to be at the required level of support now?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions