[whatwg] Allowed characters in attribute names

Anne van Kesteren annevk at opera.com
Wed Jun 13 02:22:50 PDT 2007


On Wed, 13 Jun 2007 11:18:28 +0200, Kristof Zelechovski  
<giecrilj at stegny.2a.pl> wrote:
> Why should I want to use a localized attribute name for the embed  
> element? I assume that the attribute named ‘smörgåsbord’ should  
> necessarily
> correspond to an internal property of the same name.  This would require  
> a localized compiler to compile the embedded object in the first place  
> because mixing natural languages like ‘switch(smörgåsbord)’ in source  
> code looks bad and makes the code chaotic and unreadable.

You should not assume. These are exposed as key / value pairs depending on  
the particular plugin implementation.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list