Skip to content

docs: correct how emulated encapsulation scopes component styles - #71987

Open
MeAkib wants to merge 1 commit into
angular:mainfrom
MeAkib:docs/styling-encapsulation-scope
Open

MeAkib wants to merge 1 commit into
angular:mainfrom
MeAkib:docs/styling-encapsulation-scope

Conversation

@MeAkib

@MeAkib MeAkib commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

The attribute that emulated encapsulation adds is generated per component, not per component instance. A <link rel="stylesheet"> with a relative URL in a template is compiled into the component's styles and is encapsulated. Only absolute URLs stay external.

The attribute that emulated encapsulation adds is generated per
component, not per component instance. A `<link rel="stylesheet">`
with a relative URL in a template is compiled into the component's
styles and is encapsulated. Only absolute URLs stay external.
@pullapprove
pullapprove Bot requested a review from alan-agius4 November 12, 2026 03:32
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Nov 12, 2026
@ngbot ngbot Bot added this to the Backlog milestone Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Related to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant