CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very usefull when you're sending emails.
BSD 3-Clause "New" or "Revised" License
5.8k
stars
187
forks
source link
Refactor the storage of the computed properties #153
Storing the element CSS properties in memory during the processing is faster than serializing them to store them in the DOM and then unserializing them back again each time.
When using it for the example, I get a nice performance improvement. Applying this patch on top of #152 gives me an additional 6% win.
Storing the element CSS properties in memory during the processing is faster than serializing them to store them in the DOM and then unserializing them back again each time.
When using it for the example, I get a nice performance improvement. Applying this patch on top of #152 gives me an additional 6% win.