Name: css-paint-polyfill
Owner: GoogleChromeLabs
Description: A polyfill for the CSS Paint API, with special browser optimizations.
Created: 2018-05-18 21:09:42.0
Updated: 2018-05-24 20:59:17.0
Pushed: 2018-05-23 20:41:57.0
Homepage: https://googlechromelabs.github.io/css-paint-polyfill/
Size: 43
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a polyfill for the CSS Paint API.
Performance is quite good in Firefox and Safari courtesy of -webkit-canvas()
and -moz-element()
. For the remaining browsers, framerate is governed by Canvas toDataURL()
/ toBlob()
speed.
ipt src="css-paint-polyfill.js"></script>
or: -->
ipt src="https://unpkg.com/css-paint-polyfill/dist/css-paint-polyfill.js"></script>
Or with a bundler:
rt 'css-paint-polyfill';
… or with ES Modules on the web:
rt('https://unpkg.com/css-paint-polyfill/dist/css-paint-polyfill.js');