Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement HTMLFieldSetElement.elements.(fixes #1843)
- Loading branch information
Showing
3 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<html> | ||
<script src="harness.js"></script> | ||
<fieldset id="fs"> | ||
<legend>Display</legend> | ||
<input type=radio name=a> | ||
<fieldset> | ||
<button>Click!</button> | ||
</fieldset> | ||
<keygen name="key"> | ||
<textarea> | ||
A | ||
</textarea> | ||
<select> | ||
<option value="1"> A </option> | ||
<option value="2" selected> B </option> | ||
</select> | ||
<form onsubmit="return false" oninput="o.value = a.valueAsNumber + b.valueAsNumber"> | ||
<input name=a type=number step=any> + | ||
<input name=b type=number step=any> = | ||
<output name=c for="a b"></output> | ||
</form> | ||
<figure> | ||
<object type="application/x-java-applet"> | ||
<param name="code" value="MyJavaClass"> | ||
<p>You do not have Java available, or it is disabled.</p> | ||
</object> | ||
<figcaption>My Java Clock</figcaption> | ||
</figure> | ||
</fieldset> | ||
<script> | ||
var fs = document.getElementById("fs"); | ||
is(fs.elements.length, 10); | ||
is_a(fs.elements[0], HTMLInputElement); | ||
is_a(fs.elements[1], HTMLFieldSetElement); | ||
is_a(fs.elements[2], HTMLButtonElement); | ||
is_a(fs.elements[3], HTMLUnknownElement); | ||
is_a(fs.elements[4], HTMLTextAreaElement); | ||
is_a(fs.elements[5], HTMLSelectElement); | ||
is_a(fs.elements[6], HTMLInputElement); | ||
is_a(fs.elements[7], HTMLInputElement); | ||
is_a(fs.elements[8], HTMLOutputElement); | ||
is_a(fs.elements[9], HTMLObjectElement); | ||
finish(); | ||
</script> | ||
</html> |
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from jdm
at https://github.com/lpy/servo/commit/5915b061c52a700976e61f92f428363bd6060ca5
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging lpy/servo/issue1843 = 5915b06 into auto
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lpy/servo/issue1843 = 5915b06 merged ok, testing candidate = 9bf34c7
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://servo-buildbot.pub.build.mozilla.org/builders/linux/builds/1101
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from jdm
at https://github.com/lpy/servo/commit/5915b061c52a700976e61f92f428363bd6060ca5
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging lpy/servo/issue1843 = 5915b06 into auto
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lpy/servo/issue1843 = 5915b06 merged ok, testing candidate = b345e94
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://servo-buildbot.pub.build.mozilla.org/builders/linux/builds/1103
success: http://servo-buildbot.pub.build.mozilla.org/builders/mac/builds/1058
5915b06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = b345e94