Controls whether the deprecated :--foo syntax for CSS custom state is enabled (obsolete)
Jump to overview

Policy overview

Key metadata and intent for this policy.

Category
Microsoft Edge
Supported on
Microsoft Edge version 127-132, Windows 7 or later

Supported OS tags: Windows7

OBSOLETE: This policy is obsolete and doesn't work after Microsoft Edge 132. The :--foo syntax for the CSS custom state feature is being changed to :state(foo) in Microsoft Edge to comply with changes that are made in Firefox and Safari. This policy allows the deprecated syntax to be used until Stable 132. This deprecation breaks some Microsoft Edge-only websites that use the deprecated :--foo syntax. If you enable this policy, the deprecated syntax is enabled. If you disable or don't configure this policy, the deprecated syntax is disabled.

Internal name
CSSCustomStateDeprecatedSyntaxEnabled
Policy ID
5e38dd056a59
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Path
Software\Policies\Microsoft\Edge
Value name
CSSCustomStateDeprecatedSyntaxEnabled
REG_DWORD
HKLM
1
HKCU
1
HKLM
0
HKCU
0
Registry location
Type REG_DWORD · Both
Path
Software\Policies\Microsoft\Edge
Value name
CSSCustomStateDeprecatedSyntaxEnabled
Hive
HKLM
Enabled value
1
Disabled value
0
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.