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:19:55 -0600
Message-ID: <dd0fbad1001260919u74175d6fi2ed944176294ec42@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Shelley Powers <shelley.just@gmail.com>, HTMLWG WG <public-html@w3.org>
On Tue, Jan 26, 2010 at 11:05 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> Tab Atkins Jr. wrote:
>> ...
>> 3. Data urls have some annoying boilerplate - you'll have to start
>> every one of them with
>> "data:text/html-sandboxed;charset=utf-8,%3C%21DOCTYPE%20html%3E"
>> (maybe include a <title> too?).  We can't really fix this.  It's not a
>> *huge* deal, but it was a nice plus for @srcdoc.
>> ...
> 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.

Received on Tuesday, 26 January 2010 17:20:48 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:57 UTC