author Ms2ger <>
Sat, 22 Dec 2012 09:04:33 +0100
changeset 116673 75157a7f9a06e3cc9e21fcb57d6c58e47564436b
parent 54342 b15d9c989201e77fdf2103fbf46fd3168f32a806
permissions -rw-r--r--
Bug 796902 - Part b: Make nsPaintRequest implement nsWrapperCache; r=bent

<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if select has a disabled fieldset ancestor, it is barred from
             constraint validation and should not be affected by :valid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
    function onloadHandler()
      var fieldsets = document.getElementsByTagName("fieldset");
      fieldsets[1].disabled = true;
      fieldsets[0].disabled = false;
  <body onload="onloadHandler();">
    <fieldset disabled>
        <select class='notvalid'></select>