> you probably still can't use the string literal '</script>' within an inline script.
You're right: https://jsfiddle.net/pLo9bdhs
You're right: https://jsfiddle.net/pLo9bdhs
If CSS and JS syntax were to decide when the end tags can appear, some malformed CSS or JS would break the end tag and cause the entire rest of the document to vanish as the browser wouldn't recognise it as HTML.