Aliased webkit-prefixed CSS properties are missing
In Chrome, CSS properties which are aliases (alias_for in CSSProperties.json5) of other properties don't show up when enumerating the properties of a CSSStyleDeclaration instances, but they're actually still there:
> 'webkitUserSelect' in document.body.style
true
> Object.getOwnPropertyNames(document.body.style).indexOf('webkitUserSelect')
-1
This makes some CSS properties appear to be Safari-specific when they're really not. I was thinking we should just fix this as a Chrome bug, but I see Safari has some like this as well - eg. webkitFlex.
Perhaps we should just have a hack for CSSStyleDeclaration to explicitly look for 'webkitFoo' in document.body.style for each Foo in document.body.style?
I filed a chromium bug to discuss what should be done there, but I think that's probably orthogonal (best case, it'll be awhile before Chrome and Safari ship with these exposed, and there's enough properties impacted that I think hacking around it makes sense).