Skip to content

set encapsulation to None when there is no style / set ng-version attribute on root component - #27175

Closed
ocombe wants to merge 2 commits into
angular:masterfrom
ocombe:fix/ivy/testbed-platform-server/render
Closed

ocombe wants to merge 2 commits into
angular:masterfrom
ocombe:fix/ivy/testbed-platform-server/render

Conversation

@ocombe

@ocombe ocombe commented Nov 19, 2018

Copy link
Copy Markdown
Contributor

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

We used to set view encapsulation to None when there was no styles, but it's not the case with ivy, which will create css attribute selectors on elements when it's not needed.
Also we don't set the ng-version attribute on the root component.

What is the new behavior?

We set encapsulation to None when there is no style.
We set ng-version attribute on root component.

Does this PR introduce a breaking change?

  • No

@ocombe ocombe added type: bug/fix action: review The PR is still awaiting reviews from at least one requested reviewer effort1: hours area: server Issues related to server-side rendering target: major This PR is targeted for the next major release comp: ivy risk: low labels Nov 19, 2018
@ngbot ngbot Bot added this to the Backlog milestone Nov 19, 2018
@ocombe
ocombe requested a review from alxhub November 19, 2018 17:53
@mary-poppins

Copy link
Copy Markdown

You can preview 4cf11f8 at https://pr27175-4cf11f8.ngbuilds.io/.

@ocombe
ocombe force-pushed the fix/ivy/testbed-platform-server/render branch from 4cf11f8 to e2bb32f Compare November 19, 2018 20:08
@mary-poppins

Copy link
Copy Markdown

You can preview e2bb32f at https://pr27175-e2bb32f.ngbuilds.io/.

@alxhub

alxhub commented Nov 20, 2018

Copy link
Copy Markdown
Member

@ocombe ocombe added action: merge The PR is ready for merge by the caretaker PR action: time-zone and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 20, 2018
@mhevery mhevery closed this in 0191773 Nov 20, 2018
mhevery pushed a commit that referenced this pull request Nov 20, 2018
@ocombe
ocombe deleted the fix/ivy/testbed-platform-server/render branch November 21, 2018 16:16
@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 Sep 14, 2019
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: server Issues related to server-side rendering cla: yes effort1: hours risk: low target: major This PR is targeted for the next major release type: bug/fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants