Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <!DOCTYPE html>
2 <body>
3 <html>
4 <select id="test" size="8">
5 </select>
6 <script>
7 var optgroup = document.createElement("optgroup");
8 optgroup.setAttribute('label', 'An optgroup');
9 var option = document.createElement("option");
10 var optionText = document.createTextNode("An option");
11 option.appendChild(optionText);
12 var select = document.getElementById("test");
14 optgroup.appendChild(option);
15 select.appendChild(optgroup);
16 </script>
17 </body>
18 </html>