prefixfree-1.0.10/000077500000000000000000000000001270750405700137375ustar00rootroot00000000000000prefixfree-1.0.10/README.md000077500000000000000000000061611270750405700152250ustar00rootroot00000000000000# [-prefix-**free**](http://leaverou.github.com/prefixfree/) ## Break free from CSS prefix hell! [Project homepage](http://leaverou.github.com/prefixfree/) A script that lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any CSS code, only when it’s needed. ## API Documentation Note: To use -prefix-free you don't need to write any JS code, just to include prefixfree.js in your page. The following is meant mostly for plugin authors. -prefix-free creates 2 global variables: `StyleFix` and `PrefixFree`. StyleFix is a framework for building various CSS fixers and -prefix-free depends on it. Currently, StyleFix is bundled with -prefix-free and only available this way, but it might eventually get split to a separate project, with separate documentation. ## StyleFix API Documentation ### Properties StyleFix.fixers An array of the current callbacks. ### Functions StyleFix.register(callback) Adds `callback` to the queue of functions that will be called when fixing CSS code. `callback` will be called with the following parameters: * **css** (String): The CSS code that is being processed, * **raw** (Boolean): Whether the CSS code can contain rules etc or it's just a bunch of declarations (such as the ones found in the `style` attribute), * **element** (HTMLElement): The node that the CSS code came from (such as a `` element, a `