You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The definition of registerProperty() and unregisterProperty() should be clearer about CSS escaping of the property name. It says that the name given has to match a CSS production that does include escaping, but it doesn't actually say that that CSS escaping is processed in the production of the property name that is actually registered, or that registering and unregistering by different strings that are equivalent once escaping is processed properly unregisters, or similar for registering twice throwing an exception.
The text was updated successfully, but these errors were encountered:
then getComputedStyle(document.body).getPropertyValue("--f\\30o") returns blue, while getComputedStyle(document.body).getPropertyValue("--f0o") returns the empty string.
So yeah, I'm fine with specifying, like in other parts of the platform and TypedOM, that the name is taken literally.
The definition of
registerProperty()
andunregisterProperty()
should be clearer about CSS escaping of the property name. It says that the name given has to match a CSS production that does include escaping, but it doesn't actually say that that CSS escaping is processed in the production of the property name that is actually registered, or that registering and unregistering by different strings that are equivalent once escaping is processed properly unregisters, or similar for registering twice throwing an exception.The text was updated successfully, but these errors were encountered: