diff --git a/plugins/inlineStyles.js b/plugins/inlineStyles.js index 605740b78..af94f5e3f 100644 --- a/plugins/inlineStyles.js +++ b/plugins/inlineStyles.js @@ -5,17 +5,16 @@ exports.type = 'full'; exports.active = true; exports.params = { - onlyMatchedOnce: true, - removeMatchedSelectors: true, - useMqs: ['', 'screen'], - usePseudos: [''] + onlyMatchedOnce: true, + removeMatchedSelectors: true, + useMqs: ['', 'screen'], + usePseudos: [''], }; exports.description = 'inline styles (additional options)'; - var csstree = require('css-tree'), - cssTools = require('../lib/css-tools'); + cssTools = require('../lib/css-tools'); /** * Moves + merges styles from style elements to element styles @@ -41,202 +40,229 @@ var csstree = require('css-tree'), * * @author strarsis */ -exports.fn = function(document, opts) { - - // collect + + + + + + + +@@@ + + + + + + + +