W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: removing the srcdoc

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 26 Jan 2010 11:35:07 -0600
Message-ID: <dd0fbad1001260935j257441f9k53e9fd54c4186e07@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:13 UTC