Skip to content

fix(compiler): correctly process multiple rules containing :host selectors - #41261

Closed
petebacondarwin wants to merge 1 commit into
angular:masterfrom
petebacondarwin:core-host-context-issue-41237
Closed

petebacondarwin wants to merge 1 commit into
angular:masterfrom
petebacondarwin:core-host-context-issue-41237

Conversation

@petebacondarwin

Copy link
Copy Markdown
Contributor

When there was more than one rule in a single style string, only the first
rule was having its :host selector processed correctly. Now subsequent
rules will also be processed accurately.

Fixes #41237

…lectors

When there was more than one rule in a single style string, only the first
rule was having its `:host` selector processed correctly. Now subsequent
rules will also be processed accurately.

Fixes angular#41237
@petebacondarwin petebacondarwin added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release area: compiler Issues related to `ngc`, Angular's template compiler core: CSS encapsulation labels Mar 18, 2021
@google-cla google-cla Bot added the cla: yes label Mar 18, 2021
@ngbot ngbot Bot modified the milestone: Backlog Mar 18, 2021
@pullapprove
pullapprove Bot requested a review from JoostK March 18, 2021 14:03
@petebacondarwin petebacondarwin added action: merge The PR is ready for merge by the caretaker action: presubmit The PR is in need of a google3 presubmit and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 18, 2021
@AndrewKushnir

Copy link
Copy Markdown
Contributor

Presubmit.

@AndrewKushnir AndrewKushnir removed the action: presubmit The PR is in need of a google3 presubmit label Mar 18, 2021
mhevery pushed a commit that referenced this pull request Mar 19, 2021
…lectors (#41261)

When there was more than one rule in a single style string, only the first
rule was having its `:host` selector processed correctly. Now subsequent
rules will also be processed accurately.

Fixes #41237

PR Close #41261
@mhevery mhevery closed this in aa039a1 Mar 19, 2021
@petebacondarwin
petebacondarwin deleted the core-host-context-issue-41237 branch March 22, 2021 14:21
TeriGlover pushed a commit to TeriGlover/angular that referenced this pull request Apr 5, 2021
…lectors (angular#41261)

When there was more than one rule in a single style string, only the first
rule was having its `:host` selector processed correctly. Now subsequent
rules will also be processed accurately.

Fixes angular#41237

PR Close angular#41261
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler cla: yes core: CSS encapsulation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Combination of multiple :host-context and :host selectors don't work

3 participants