fix(compiler): Support CSS Shiming for pseudo class functions with multiple arguments#49169
fix(compiler): Support CSS Shiming for pseudo class functions with multiple arguments#49169JeanMeche wants to merge 2 commits intoangular:mainangular/angular:mainfrom
Conversation
f768b21 to
a291dfa
Compare
|
@dylhunn Confirmed the global presubmit is green https://test.corp.google.com/OCL:589449057:BASE:589449041:1702154726239:35ca6bf4 |
|
Hey @alxhub, any chance of this going in? |
|
Hey @JeanMeche! Any chance to resolve the conflicts here? Thanks man! |
…ents CSS functions like `:has()` or `:is()`can recieved multiple arguments separated by commas. This commit fixes the previously very partial support for it.
In certain cases `:host` can land in an pseudo class functions. For example with tailwind we can write
```
:host {
@apply dark:text-red-500;
}
```
gets converted to `:is(.dark :host)`.
This commit fixes the shiming to support it.
Fixes angular#45686
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
CSS functions like
:has()or:is()can recieved multiple arguments separated by commas. This commit fixes the previously very partial support for it.PR Type
What kind of change does this PR introduce?
Fixes: #49157 & #45686