Bug with '</style>' inside a comment in a stylesheet

 If I have '</style>' inside a comment in a stylesheet then Chrome thinks I am ending the styleheet.


I put a commented out SVG in a stylesheet above where the SVG was encoded as a data URL. The SVG has a stylesheet within it


However, another time, I had an extra '</head>' inside the 'head' tag and nothing happened.




Comments

Popular posts from this blog

Minifying CSS

Violating Flickr's terms of service

How a CSS fish animation works