- From: Steven Pemberton <Steven.Pemberton@cwi.nl>
- Date: Wed, 03 Nov 2010 16:11:57 +0100
- To: "Forms WG" <public-forms@w3.org>
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.
Steven
Received on Wednesday, 3 November 2010 15:12:37 UTC