Re: [whatwg] The iframe’s encoding only gets sniffed by Firefox - who is buggy?

On Mon, Mar 11, 2013 at 6:46 AM, Leif Halvard Silli
<xn--mlform-iua@xn--mlform-iua.no> wrote:
> There is bug here, but I'm not sure whether the bug is in Firefox or
> the others. Why does Firefox work even without the @charset attribute
> on the <sript> - but not the others?

I think the bug is in the other browsers. <iframe> starts out as
about:blank (always the case if there's no src). about:blank defaults
to a text/html resource of the empty string whose encoding is utf-8.
That's it. (Unless one of the scripts included causes navigation, that
would complicate matters.)


-- 
http://annevankesteren.nl/

Received on Monday, 11 March 2013 18:04:16 UTC