Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tomasdev opened this issue Dec 8, 2023 · 2 comments
Closed

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

tomasdev opened this issue Dec 8, 2023 · 2 comments

Comments

@tomasdev
Copy link

tomasdev commented Dec 8, 2023

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

@JeanMeche
Copy link
Member

Hi, this looks like a dupe of #49157, the shimming is broken when that are multiple arguments in a pseudo class functions.

#49169 Should be able to fix this !

@JeanMeche JeanMeche closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2023
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants