Skip to content

Add support for :interest-source and :interest-target #1203

@lubomirblazekcz

Description

@lubomirblazekcz
[vite:css][lightningcss] 'interest-source' is not recognized as a valid pseudo-class. Did you mean '::interest-source' (pseudo-element) or is this a typo?
4459 |    }
4460 |    .interest-source\:text-accent {
4461 |      &:is(:interest-source, .interest-source) {
     |            ^
4462 |        color: var(--color-accent);
4463 |      }

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:interest-source
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:interest-target

This is already supported in chrome and can be easily polyfilled with https://github.com/mfreed7/interestfor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions