Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ng-deep not disabling encapsulation on :is() CSS rules #53453

Copy link
Copy link
@tomasdev

Description

@tomasdev
Issue body actions

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

✅ (Working As Intended) Case 1:
INPUT :host ::ng-deep .bleh
OUTPUT .bleh

❌ (Broken?) Case 2:
INPUT :host ::ng-deep :is(button, a)
OUTPUT :is(button, a)[_ngcontent-ng-c1285227165]

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/stackblitz-starters-ddu2wd?file=src%2Fmain.ts

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.