W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] Attribute for holding private data for scripting

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 12 Apr 2007 00:38:27 +0300
Message-ID: <62A8D60A-E602-4A4F-95B4-33920935048B@iki.fi>
On Apr 11, 2007, at 16:04, Sam Ruby wrote:

> 1) re: "prefix_name" - how are prefixes registered?  Henri is free  
> to correct me if I am wrong, but I gathered that the requirement  
> was for a bit of decentralized extensibility, i.e., the notion that  
> anybody for any reason could defined an extension for holding  
> private data; and furthermore could do so without undo fear of  
> collision.

I did not have any prefixing mechanism in mind. I was thinking of  
establishing an attribute such as "script-private" where authors  
would be free to stick anything for retrieval by scripts. I was  
assuming that the usage of the attribute and the scripts running on  
the page would be tightly coupled. That is, generating the attributes  
and writing the script that consumes them would be under the control  
of the same developer/team.

Henri Sivonen
hsivonen at iki.fi
Received on Wednesday, 11 April 2007 14:38:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC