W3C home > Mailing lists > Public > public-forms@w3.org > November 2010

Proposal for Exists+Events+in/visible

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Wed, 03 Nov 2010 16:11:57 +0100
To: "Forms WG" <public-forms@w3.org>
Message-ID: <op.vlloh703smjzpq@steven-750g>
Following on from our discussion yesterday, a strawman proposal that also  
covers my more general case:

	<bind ref="sum" property="if(.<0, 'negative', '')"/>
	<output ref="sum"><label>Total: </label></output>

with CSS:

	output.negative {color: red}

How a bound property maps to controls is host-language dependent, but for  
XHTML it would add the property name to @class.

Received on Wednesday, 3 November 2010 15:12:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:14:04 UTC