Since this is a scoped CSS feature that also MVC/Razor pages has, https://github.com/dotnet/aspnetcore/issues/52196 applies to them too. The fix for Blazor is https://github.com/dotnet/aspnetcore/pull/62675 so we want to probably do the same thing for MVC/Razor Pages.