<style> foo </script>
bar
</script>

foo

<style> foo -->
bar
</script>

foo

<style> foo ?>
bar
</script>

foo

<style> foo >
bar
</script>

foo

<style> foo ]]>
bar
</script>

foo

<style> foo

bar
</script>

foo

---

<!-- foo </script>
bar
-->

foo

<!-- foo -->
bar
-->

foo

<!-- foo ?>
bar
-->

foo

<!-- foo >
bar
-->

foo

<!-- foo ]]>
bar
-->

foo

<!-- foo

bar
-->

foo

---

<?php foo </script>
bar
?>

foo

<?php foo -->
bar
?>

foo

<?php foo ?>
bar
?>

foo

<?php foo >
bar
?>

foo

<?php foo ]]>
bar
?>

foo

<?php foo

bar
?>

foo

---

<!A foo </script>
bar
>

foo

<!A foo -->
bar
>

foo

<!A foo ?>
bar
>

foo

<!A foo >
bar
>

foo

<!A foo ]]>
bar
>

foo

<!A foo

bar
>

foo

---

<![CDATA[ foo </script>
bar
]]>

foo

<![CDATA[ foo -->
bar
]]>

foo

<![CDATA[ foo ?>
bar
]]>

foo

<![CDATA[ foo >
bar
]]>

foo

<![CDATA[ foo ]]>
bar
]]>

foo

<![CDATA[ foo

bar
]]>

foo

---

<body> foo </script>
bar

foo

<body> foo -->
bar

foo

<body> foo ?>
bar

foo

<body> foo >
bar

foo

<body> foo ]]>
bar

foo

<body> foo

bar

foo

---

<style> foo 
</script>
bar
</script>

foo

<style> foo 
-->
bar
</script>

foo

<style> foo 
?>
bar
</script>

foo

<style> foo 
>
bar
</script>

foo

<style> foo 
]]>
bar
</script>

foo

<style> foo

bar
</script>

foo

---

<!-- foo 
</script>
bar
-->

foo

<!-- foo 
-->
bar
-->

foo

<!-- foo 
?>
bar
-->

foo

<!-- foo 
>
bar
-->

foo

<!-- foo 
]]>
bar
-->

foo

<!-- foo

bar
-->

foo

---

<?php foo 
</script>
bar
?>

foo

<?php foo 
-->
bar
?>

foo

<?php foo 
?>
bar
?>

foo

<?php foo 
>
bar
?>

foo

<?php foo 
]]>
bar
?>

foo

<?php foo

bar
?>

foo

---

<!A foo 
</script>
bar
>

foo

<!A foo 
-->
bar
>

foo

<!A foo 
?>
bar
>

foo

<!A foo 
>
bar
>

foo

<!A foo 
]]>
bar
>

foo

<!A foo

bar
>

foo

---

<![CDATA[ foo 
</script>
bar
]]>

foo

<![CDATA[ foo 
-->
bar
]]>

foo

<![CDATA[ foo 
?>
bar
]]>

foo

<![CDATA[ foo 
>
bar
]]>

foo

<![CDATA[ foo 
]]>
bar
]]>

foo

<![CDATA[ foo

bar
]]>

foo

---

<body> foo 
</script>
bar

foo

<body> foo 
-->
bar

foo

<body> foo 
?>
bar

foo

<body> foo 
>
bar

foo

<body> foo 
]]>
bar

foo

<body> foo

bar

foo

---

<img>
</script>
bar

foo

<img>
-->
bar

foo

<img>
?>
bar

foo

<img>
>
bar

foo

<img>
]]>
bar

foo

<img>

bar

foo