Policy
Controls whether the deprecated :--foo syntax for CSS custom state is enabled (obsolete)
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
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.
Registry values
How enabled and disabled states update the registry.
| Scope | Registry location | Type | Enabled value | Disabled value | Copy |
|---|---|---|---|---|---|
Path Software\Policies\Microsoft\Edge Value name CSSCustomStateDeprecatedSyntaxEnabled | REG_DWORD | HKLM 1 HKCU 1 | HKLM 0 HKCU 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.