X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=inliner.js;h=f079dd86cfe9060762b84925b8623e83da5f4530;hb=199eb5053b85315406a0b75b997238690b0c6ee2;hp=eef59f69d25a9c69ace8e4f9e6f3a1c5e0dc18bc;hpb=e3eeb002d17ae0ebb6b311778013d7bb35a48c6a;p=app.webkitpdf diff --git a/inliner.js b/inliner.js index eef59f6..f079dd8 100644 --- a/inliner.js +++ b/inliner.js @@ -1,4 +1,17 @@ - +/** + * + * could this work by findind all the visible text, + * then making them hidden.. + * + * -- make a snapshot of the background.. + * + * -- delete the whole page... + * -- show the image as the background. + * -- then overlay all the text given their calculated positions.. + * + * + * + */ (function(){ @@ -48,7 +61,9 @@ // pstyle = window.getComputedStyle(dom.parentElement, null); //} - + if (dom.nodeName == 'SPAM') { + pstyle = false; //?? others?? + } //if (dom.nodeName == 'LI') { throw 'done'; }