inliner.js
authorAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 06:39:18 +0000 (14:39 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 06:39:18 +0000 (14:39 +0800)
inliner.js

index b5d6b9f..bd2338d 100644 (file)
@@ -60,9 +60,9 @@
             //returns[camel] = val;
             
             // idea... if the parent has the same style.. then do not apply it to the child?
-            //if (pstyle && pstyle[prop] == val) {
-            //    continue;
-            //}
+            if (pstyle && pstyle[prop] == val) {
+                continue;
+            }
             //console.log(prop + '=' + val);
             
             dom.style[camel] = val;