LeaVerou/prefixfree — pull request #114 by mkantor (2012-10-17 18:45:58+00:00)
Title: Fix issue #109 by @importing CSS as data URIs when printing.

In IE9 swap out prefixed CSS for imported data URIs `onbeforeprint` and restore the regular prefixed CSS `onafterprint` in order to work around [an IE9 bug where `@media screen` styles were being applied to print media](https://github.com/LeaVerou/prefixfree/issues/109).

[Some tests are available here](http://mkantor.github.com/prefixfree-tests/tests/?prefixfree-url=http%3A%2F%2Fmkantor.github.com%2Fprefixfree-tests%2Fprefixfree.js). Compare this to [the same tests run with a version of -prefix-free without the changes from this pull request](http://mkantor.github.com/prefixfree-tests/tests/?prefixfree-url=http%3A%2F%2Fleaverou.github.com%2Fprefixfree%2Fprefixfree.js) (print the pages with IE9 and compare the results).