The Wayback Machine - https://web.archive.org/web/20220211184645/https://github.com/dotnet/aspnetcore/issues/40151
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Razor view CSS isolation does not support HTML header tag #40151

Open
1 task done
Jaffacakes82 opened this issue Feb 11, 2022 · 0 comments
Open
1 task done

Razor view CSS isolation does not support HTML header tag #40151

Jaffacakes82 opened this issue Feb 11, 2022 · 0 comments
Labels

Comments

@Jaffacakes82
Copy link

@Jaffacakes82 Jaffacakes82 commented Feb 11, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The HTML <header> tag does not seem to be supported by CSS isolation in Razor views.

image

From the above image, you can see no uniquely named attribute is applied to the markup.

Expected Behavior

The HTML <header> tag is given a uniquely named attribute and applies styles defined in the scoped CSS file.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

6.0.101

Anything else?

.NET SDK (reflecting any global.json):
Version: 6.0.101
Commit: ef49f6213a

Runtime Environment:
OS Name: Mac OS X
OS Version: 12.2
OS Platform: Darwin
RID: osx.12-x64
Base Path: /usr/local/share/dotnet/x64/sdk/6.0.101/

Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc

.NET SDKs installed:
3.1.416 [/usr/local/share/dotnet/x64/sdk]
5.0.404 [/usr/local/share/dotnet/x64/sdk]
6.0.101 [/usr/local/share/dotnet/x64/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.22 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.13 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.1 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.13 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants