[whatwg] HTML 5 video tag questions

On Tue, 14 Jul 2009 14:51:42 +0200, Tab Atkins Jr. <jackalmage at gmail.com>  
wrote:

> How do y'all currently handle <noscript> content in a context that
> allows scripts?  What if there was a <video> or <object> in the
> <noscript>?

<noscript> is parsed as a CDATA element in the HTML parser when scripting  
is enabled. Any tags would be interpreted as text.

This is not the case for <object> or <video> because it's ugly and doesn't  
work in XHTML. You'll notice that <noscript> is not allowed in XHTML5.

-- 
Simon Pieters
Opera Software

Received on Tuesday, 14 July 2009 07:02:40 UTC