script: Store typed custom property registrations on the document. …
CSS Properties & Values API says the set of registered properties should be associated with the document. Part 7 of a series of patches to implement the CSS Properties & Values API.