[whatwg] <script charset="">

Ian Hickson ian at hixie.ch
Tue May 13 18:46:32 PDT 2008


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list