Skip to content

:dir and :lang transpilation fails in some selectors #413

@jacobrask

Description

@jacobrask

:dir and :lang transpilation is a bit unreliable when used together with pseudo classes, pseudo elements and child selectors. In many cases they are not transpiled at all.

  • .foo:dir(rtl)
  • :is(.foo:dir(rtl))
  • :where(.foo:dir(rtl)) 🚫
  • .foo:dir(rtl)::after 🚫
  • .foo:dir(rtl) div 🚫

Playground

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