[whatwg] Attribute for holding private data for scripting

On 4/11/07, Henri Sivonen <hsivonen at iki.fi> wrote:
> I was thinking of
> establishing an attribute such as "script-private" where authors
> would be free to stick anything for retrieval by scripts.

What would happen with <embed script-private="something">? Would the
data be passed to the plug-in as a script-private param or would
script-private be reserved; causing any plug-in using script-param not
to get the data? (A prefix could possible avoid this.)

Or, would the attribute be global, but with exceptions?

If a global attribute is added, the name should be chosen carefully.

-- 
Michael

Received on Wednesday, 11 April 2007 15:45:52 UTC