Skip to content

🐛 The CSS parser doesn't support nested selectors with pseudo-classes #3287

@Sec-ant

Description

@Sec-ant

This issue is reported in the discord server.

Environment information

N/A

What happened?

https://biomejs.dev/playground/?files.test.css=bQBhAGkAbgAgAHsACgAgACAAbABhAGIAZQBsADoAaABvAHYAZQByACAAewAKACAAIAAgACAAIAAgAGYAbwBuAHQALQB3AGUAaQBnAGgAdAA6ACAANQAwADAAOwAKACAAIAB9AAoAfQA%3D

Expected result

The code should be parsed without issues because it is valid syntax.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ParserArea: parserL-CSSLanguage: CSS and super languagesS-Bug-confirmedStatus: report has been confirmed as a valid bugS-Has workaroundStatus: has a workaround, so users can still work with the bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions