emogrifier
emogrifier copied to clipboard
Move the CSS parsing into a class/trait
We currently have methods parseCssDeclarationsBlock
and getAllNodesWithStyleAttribute
that are duplicated in CssInliner
and CssToAttributeConverter
, that could be moved to shared trait
s. That is an overlapping issue, but not the same as moving all CSS parsing to a class.
Doesn't #544 already cover this (apart from the issues I mentioned in my previous comment here)?
This issue is about a potential solution for #734. I'm not quite sure whether we should move the CSS parsing into a separate class/trait, use some 3rd-party library, or both.
But isn't this issue, #734, a duplicate of #544?
I've added #738 and #739 for the side issues I mentioned.