| <csstest def=":disabled pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="24" rev="1.1" date="3-march-2004" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Daniel Glazman</author> |
| <author>Ian Hickson</author> |
| <cssrules>button { background-color : red } |
| input { background-color : red } |
| button:disabled { background-color : lime } |
| input:disabled { background-color : lime }</cssrules> |
| |
| <code> |
| <p xmlns="http://www.w3.org/1999/xhtml"> |
| <button disabled="disabled">A button (disabled) with green background</button> |
| <br/> |
| <input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"/> |
| </p> |
| </code> |
| |
| </csstest> |