- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 26 Jan 2010 11:35:07 -0600
- To: Kornel <kornel@geekhood.net>
- Cc: public-html@w3.org
On Tue, Jan 26, 2010 at 11:33 AM, Kornel <kornel@geekhood.net> wrote: > On 26 Jan 2010, at 17:19, Tab Atkins Jr. wrote: >>> >>> Why do yo need the charset param, why do you need the DOCTYPE? >> >> If you omit the charset, I think it will attempt to default to >> windows-1252. At least, it apparently will with text/html. Not sure >> what happens with text/html-sandboxed. >> >> The DOCTYPE is required or else the page will be in quirks mode. > > I think it would make sense to define that text/html-sandboxed defaults to > UTF-8 and standards mode. Windows charset and quirks are needed only for > backwards compatibility, and there is no such need in case of sandbox. That would be convenient both for solving this issue and in general. It would reduce the necessary boilerplate to simple "data:text/html-sandboxed,", which isn't horrible. ~TJ
Received on Tuesday, 26 January 2010 17:35:54 UTC