// idea... if the parent has the same style.. then do not apply it to the child?
if (pstyle && pstyle[prop] == val) {
- continue;
+ // continue;
}
console.log(prop + '=' + val);
dom.style[camel] = val;
console.log(dom.getAttribute('style'));
}
- if (dom.nodeName == 'LI') { throw 'done'; }
+ //if (dom.nodeName == 'LI') { throw 'done'; }
for (var i = dom.childNodes.length -1; i--; i> -1) {
fillStyle(dom.childNodes[i]);