Controls whether the deprecated :--foo syntax for CSS custom state is enabled (obsolete)
Supported on: Microsoft Edge version 127-132, Windows 7 or later
Registry
Software\Policies\Microsoft\Edge Software\Policies\Microsoft\Edge Value name: CSSCustomStateDeprecatedSyntaxEnabled
Enabled: CSSCustomStateDeprecatedSyntaxEnabled = 1
Disabled: CSSCustomStateDeprecatedSyntaxEnabled = 0
Description
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.