[whatwg] Attribute for holding private data for scripting

Michael A. Puls II shadow2531 at gmail.com
Wed Apr 11 15:45:52 PDT 2007


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



More information about the whatwg mailing list