Update HTMLFormElement.length to be of type unsigned long

Fixes #9402
This commit is contained in:
Joshua Holmer 2016-01-22 10:12:16 -05:00
parent 1c6fb0f04e
commit 75d258f866
3 changed files with 4 additions and 4 deletions

View file

@ -205,8 +205,8 @@ impl HTMLFormElementMethods for HTMLFormElement {
}
// https://html.spec.whatwg.org/multipage/#dom-form-length
fn Length(&self) -> i32 {
self.Elements().Length() as i32
fn Length(&self) -> u32 {
self.Elements().Length() as u32
}
}