diff options
author | Sagar Muchhal <muchhalsagar88@gmail.com> | 2016-03-18 19:53:34 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-03-24 09:07:38 -0400 |
commit | 051ffba0e5dd22b779a059be164a9748e305496c (patch) | |
tree | fa23afb077ba83a415d4cd083d129868694874f8 /components/script/dom/htmloutputelement.rs | |
parent | 7a9dc577617b442ff0fe07eaa683207234c519ee (diff) | |
download | servo-051ffba0e5dd22b779a059be164a9748e305496c.tar.gz servo-051ffba0e5dd22b779a059be164a9748e305496c.zip |
Implement initial pieces of form validation.
Diffstat (limited to 'components/script/dom/htmloutputelement.rs')
-rw-r--r-- | components/script/dom/htmloutputelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmloutputelement.rs b/components/script/dom/htmloutputelement.rs index 0a018f4217d..b614684b863 100644 --- a/components/script/dom/htmloutputelement.rs +++ b/components/script/dom/htmloutputelement.rs @@ -43,7 +43,7 @@ impl HTMLOutputElementMethods for HTMLOutputElement { // https://html.spec.whatwg.org/multipage/#dom-cva-validity fn Validity(&self) -> Root<ValidityState> { let window = window_from_node(self); - ValidityState::new(window.r()) + ValidityState::new(window.r(), self.upcast()) } // https://html.spec.whatwg.org/multipage/#dom-fae-form |