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

[whatwg] Attribute for holding private data for scripting

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Wed, 11 Apr 2007 18:45:52 -0400
Message-ID: <6b9c91b20704111545v343910c4hae230c77b30266a3@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:34 UTC