2 <html class=
"reftest-wait">
3 <!-- Test: when changing the 'max' IDL property, the thumb of the range
4 should be moved to the appropriate position. This test also
5 sets the max to less than the current value which checks that the
6 rendering code handles repositioning correctly in the case that
7 sanitization of the value is needed for a non-value change. -->
8 <script type=
"text/javascript">
11 document
.getElementById('i').max
= "10";
12 document
.documentElement
.className
= '';
14 document
.addEventListener("MozReftestInvalidate", setValue
);
15 setTimeout(setValue
, 2000); // useful when not running under reftest suite
18 <input type=range id='i' max=
100>