projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d137c0b
)
inliner.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:42:11 +0000
(13:42 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:42:11 +0000
(13:42 +0800)
inliner.js
patch
|
blob
|
history
diff --git
a/inliner.js
b/inliner.js
index
4da2d43
..
0fc5eb1
100644
(file)
--- a/
inliner.js
+++ b/
inliner.js
@@
-43,6
+43,10
@@
//var camel = prop.replace(/\-([a-z])/g, camelize);
var val = style.getPropertyValue(prop);
//returns[camel] = val;
+
+ // idea... if the parent has the same style.. then do not apply it to the child?
+
+
dom.style[prop] = val;
}
for (var i = dom.childNodes.length -1; i--; i> -1) {