W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2008

[whatwg] <script charset="">

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 14 May 2008 01:46:32 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0805140144180.22257@hixie.dreamhostps.com>
On Mon, 25 Apr 2005, Toshirou Takahashi wrote:
> 
> about 2.12. Scripting
> 
> http://whatwg.org/specs/web-apps/current-work/#the-script
> interface HTMLScriptElement : HTMLElement {
>            attribute DOMString text;
>            attribute DOMString src;
>            attribute DOMString type;
> };
> 
> 
> Why isn't there Charset attribute ?

I've added it.


I haven't tested where UAs get their charset="" information from in 
detail. The spec, as defined now, makes the charset="" attribute 
authoritative, and if the attribute is omitted, makes document.charset the 
required authoritative default. Is that what browsers do?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 13 May 2008 18:46:32 UTC

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