Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script type="text/javascript">
7 function boom()
8 {
9 var sel = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
10 var opt;
11 for (var i = 0; i < 43; ++i) {
12 opt = document.createElementNS("http://www.w3.org/1999/xhtml", "option");
13 opt.appendChild(document.createTextNode(i));
14 sel.appendChild(opt);
15 }
16 opt.selected = "selected";
17 document.getElementById("div").appendChild(sel);
18 }
20 </script>
21 </head>
23 <body onload="boom();"><div id="div"></div><embed type="application/x-test"></embed></body>
24 </html>