-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-css-isolationThis issue is related to CSS Isolation featureThis issue is related to CSS Isolation feature
Milestone
Description
This is one of the work items needed for #10170
Given an extra optional "scope ID" string for each .razor file being compiled (which is to be supplied by other work external to this issue), we need the Razor compiler to generate an extra call like:
builder.AddAttribute(seq, ScopeId, null); // adds an empty attribute named ScopeId... for every HTML element being rendered by that component. This applies equally across regular elements, elements inside RenderFragments, and elements that get optimized into pre-stringified HTML markup fragments.
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-css-isolationThis issue is related to CSS Isolation featureThis issue is related to CSS Isolation feature