gecko/layout/reftests/css-enabled/fieldset/fieldset-fieldset-3.html
Mounir Lamouri 9532ebf9c3 Bug 557087 (2/6) - Make the content aware of the new disabled state rule. r+a=sicking
--HG--
extra : rebase_source : 66ef476d46872edcc8ea8cd6488cd14d24ce8446
2010-09-18 23:33:16 +02:00

21 lines
558 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function onloadHandler()
{
var fieldsets = document.getElementsByTagName('fieldset');
fieldsets[1].disabled = true;
fieldsets[0].disabled = false;
document.documentElement.className='';
}
</script>
<body onload="onloadHandler();">
<fieldset disabled class="enabled">
<fieldset class="disabled">
<fieldset class="disabled"></fieldset>
</fieldset>
</fieldset>
</body>
</html>