Modernizr/Modernizr — Issue #437: _domPrefixes not exactly an accurate name
Author: paulirish
Created: 2011-12-10 02:40:15+00:00
State: open

They are prefixes for style properties on the `CSSStyleDeclaration` interface

Spec: http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface

They are different from how things are prefixes in the DOM.. Examples:

* `window.webkitPostMessage`
* `window.webkitAudioContext`
* `window.mozRequestAnimationFrame`

Internally we just do a lot of `Modernizr._domPrefixes[x].toLowercase()`

I think we should consider renaming our external API to `_cssomPrefixes` as its more appropriate.

Looking at a codesearch, basically no one is using this API so the risk is low: http://codesearch.google.com/#search/&q=_domPrefixes%20-file:modernizr&type=cs