bzbarsky%mit.edu 60ac0a33dd Make <select> handle changes to defaultSelected on node for which selected has
not been set.  Bug 395107, r+sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@240418 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 16:50:34 +00:00

11 lines
285 B
HTML

<!DOCTYPE html>
<html>
<body onload='var elem2 = document.getElementById("two");
elem2.removeAttribute("selected");'>
<select size="2">
<option id="one">Option one</option>
<option id="two" selected>Option two</option>
</select>
</body>
</html>