<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.
Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
--><html><head><meta charset="UTF-8">
<script src="../base.js"></script>
<script>goog.require('goog.dom.formsTest');</script>
<title>Closure Unit Tests - goog.dom.formsTest</title><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.
Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
-->
</head><body><div id="testdiv1">
</div>
<form action="https://foo.bar/baz" id="testform1" onsubmit="return false">
<!-- text input with one value -->
<input id="in1" name="in1" value="foo">
<!-- text inputs with two values -->
<input id="in2" name="in2" value="bar">
<input id="in2" name="in2" value="baaz">
<!-- empty text input -->
<input id="in3" name="in3" value="">
<!-- password -->
<input id="pass" name="pass" type="password" value="bar">
<!-- textarea -->
<textarea id="textarea1" name="textarea">foo bar baz</textarea>
<!-- select single -->
<select id="select1" name="select1">
<option selected="" value="1">
one
</option>
<option value="2">
two
</option>
</select>
<!-- select multiple -->
<select id="select2" multiple="true" name="select2">
<option selected="" value="a">
A
</option>
<option value="b">
B
</option>
<option selected="" value="c">
C
</option>
</select>
<!-- select no value -->
<select id="select3" name="select3">
<option>
</option>
<option value="1">
one
</option>
<option value="2">
two
</option>
</select>
<!-- checkboxes -->
<fieldset id="testfieldset1">
<legend id="testlegend1">
Checkboxes
</legend>
<input checked="" id="checkbox1" name="checkbox1" type="checkbox">
<input id="checkbox2" name="checkbox2" type="checkbox">
</fieldset>
<!-- radio buttons -->
<fieldset>
<legend>
Radio Buttons
</legend>
<input checked="" id="radio1" name="radio" type="radio" value="X">
<input id="radio2" name="radio" type="radio" value="Y">
</fieldset>
<fieldset>
<legend>
Radio Buttons
</legend>
<input id="radio3" name="radio2" type="radio" value="X">
<input checked="" id="radio4" name="radio2" type="radio" value="Y">
</fieldset>
<!-- button -->
<button id="button" name="button" onclick="testSetValueSelectMultiple()" type="button" value="button">
button
</button>
<!-- submit -->
<input formaction="https://foo.xyz/baz" id="submit" name="submit" type="submit" value="submitv">
<!-- reset -->
<input id="reset" name="reset" type="reset" value="reset">
<!-- submit -->
<button formaction="https://foo.xyz/baz" id="submitb" name="submit" value="submitb">
Submit
</button>
</form>
<form id="testform2">
<input name="file" type="file">
</form>
<form id="testform3">
<!-- text input -->
<input id="in4" name="in4">
<!-- textarea -->
<textarea id="textarea2" name="textarea"></textarea>
<!-- select single -->
<select id="select4" name="select1">
<option value="1">
one
</option>
<option value="2">
two
</option>
</select>
<!-- select multiple -->
<select id="select5" multiple="true" name="select5">
<option value="a">
A
</option>
<option value="b">
B
</option>
<option value="c">
C
</option>
</select>
<!-- radio -->
<input id="radio3" name="radio3" type="radio" value="Z">
<!-- checkbox -->
<input id="checkbox2" name="checkbox2" type="checkbox">
<!-- select multiple no value -->
<select id="select6" multiple="true" name="select6">
<option value="a">
A
</option>
<option value="b">
B
</option>
</select>
<!-- select with empty value -->
<select id="select7" name="select7">
<option value="">
Empty
</option>
<option value="a">
A
</option>
<option value="b">
B
</option>
</select>
</form>
<form id="testform4">
<embed>
<embed type="foo/bar">
<object>
</object>
</form></body></html>