projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf0cfc
)
inliner.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:43:00 +0000
(13:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:43:00 +0000
(13:43 +0800)
inliner.js
patch
|
blob
|
history
diff --git
a/inliner.js
b/inliner.js
index
0fc5eb1
..
8632ffc
100644
(file)
--- a/
inliner.js
+++ b/
inliner.js
@@
-45,7
+45,9
@@
//returns[camel] = val;
// idea... if the parent has the same style.. then do not apply it to the child?
-
+ if (dom.nodeName != 'BODY' && dom.parentNode.style[prop] == val) {
+ continue;
+ }
dom.style[prop] = val;
}