Although the
STYLE
andSCRIPT
elements useCDATA
for their data model, for these elements,CDATA
must be handled differently by user agents. Markup and entities must be treated as raw text and passed to the application as is. The first occurrence of the character sequence "</" (end-tag open delimiter) is treated as terminating the end of the element's content. In valid documents, this would be the end tag for the element.
And this can be tested how...?