W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] HTML 5 video tag questions

From: Simon Pieters <simonp@opera.com>
Date: Tue, 14 Jul 2009 16:02:40 +0200
Message-ID: <op.uw19aqoaidj3kv@zcorpandell.linkoping.osa>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC