6 var camelize = function(a,b){
7 return b.toUpperCase();
10 var fill = function(dom)
15 style = window.getComputedStyle(dom, null);
16 for(var i=0;i<style.length;i++){
18 var camel = prop.replace(/\-([a-z])/g, camelize);
19 var val = style.getPropertyValue(prop);
20 //returns[camel] = val;
21 dom.style[prop] = val;
25 var el = document.querySelector('body');
27 var matches = el.querySelectorAll('*');
28 for(var i =0;i < matches.length;i++) {
29 fillStyle(matches[i]);