W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] Suggestion: "context" attribute

From: Martin Kutschker <Martin.T.Kutschker@blackbox.net>
Date: Fri, 25 Jun 2004 20:17:59 +0200 (METDST)
Message-ID: <20040625.31694262@blackbox.net>
Matthew Raymond <mattraymond at earthlink.net> writes on 
Fri, 25 Jun 2004 16:35:43 +0200 (METDST):

> This is a revision of an earlier idea I had. The general purpose
> of this attribute is to support popups. Sample code time!
> 
> ------------------------------------------------------------
> 
> <div id="myPopup" repeat="template">
> <p>Random popup stuff</p>
> </div>
> 
> <input type="text" value="some text" context="myPopup">
> 
> ------------------------------------------------------------
> 
> Since templates are not displayed, the <div> element above is not
> rendered by a Web Forms 2.0 UA. For Internet Explorer, the context 
> attribute is ignored, and CSS can be used to suppress rendering of the
> <div> element.


Why abuse an attribute? I like the general idea, but would favour either a new element instead of div or another new attribute.

Masi,
who is just popping in, hello everybody
Received on Friday, 25 June 2004 11:17:59 UTC

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