blob: 70c9e12009100898b6e19672c70349c8c9136944 [file] [log] [blame]
<csstest def=":indeterminate" module="W3C Selectors" modulename="css3-modsel" number="d5" rev="1.1" date="20-october-2005" xmlns="http://www.example.org/css3tests">
<author>Tantek &#x00C7;elik</author>
<author>Ian Hickson</author>
<dynamic/>
<cssrules>
input, span { background:red }
input:indeterminate, input:indeterminate + span { background:green; }
</cssrules>
<code>
<div xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript">
<![CDATA[
function test() {
/* Technically not part of DOM1 HTML but Tantek assures me that
is an oversight... */
document.getElementById("test").indeterminate = true;
}
window.setTimeout("test()", 100);
]]>
</script>
<p> <input id="test" type="checkbox"/> <span>Everything in this paragraph should have a green background.</span> </p>
</div>
</code>
</csstest>