3 https://bugzilla.mozilla.org/show_bug.cgi?id=402198
6 <title>Test for Bug
402198</title>
7 <script type=
"text/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
8 <script type=
"text/javascript" src=
"/tests/SimpleTest/EventUtils.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=402198">Mozilla Bug
402198</a>
15 <select><optgroup></optgroup></select>
16 <legend style=
"overflow: scroll;">
20 <span style=
"display: -moz-box;">
24 <label style=
"overflow: scroll; display: -moz-box;">
29 <label style=
" display: table;">
31 <option>High Grade
</option>
32 <option>Medium Grade
</option>
38 <select multiple=
"multiple"></select>
39 <select style=
"overflow: scroll; display: -moz-box;">
41 <optgroup style=
"display: table-cell;"></optgroup>
46 <script class=
"testbody" type=
"text/javascript">
48 document.documentElement.style.display = 'none';
49 document.body.offsetHeight;
50 document.documentElement.style.display = '';
51 document.body.offsetHeight;
53 document.getElementById('a').focus();
54 document.body.style.display = 'none';
55 netscape.security.PrivilegeManager.enablePrivilege(
"UniversalXPConnect");
56 var wu = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
57 .getInterface(Components.interfaces.nsIDOMWindowUtils);
58 wu.sendKeyEvent('keypress',
9,
0,
4);
60 is(
0,
0,
"this is a crash/assertion test, so we're ok if we survived this far");
68 SimpleTest.waitForExplicitFinish();
69 addLoadEvent(do_test);
74 * {quotes:
"quote" "quote" !important;}