Refactor test for WebKit workaround
Reorganize how CSS parts are inlined. Optimizes CSS parsing as we now only parse once per item
Fix order in that links and styles are inlined to avoid double parsing