Implement initial pieces of form validation.

This commit is contained in:
Sagar Muchhal 2016-03-18 19:53:34 -04:00 committed by Josh Matthews
parent 7a9dc57761
commit 051ffba0e5
14 changed files with 185 additions and 55 deletions

View file

@ -23,6 +23,7 @@ use dom::keyboardevent::KeyboardEvent;
use dom::node::{ChildrenMutation, Node, NodeDamage, UnbindContext};
use dom::node::{document_from_node};
use dom::nodelist::NodeList;
use dom::validation::Validatable;
use dom::virtualmethods::VirtualMethods;
use msg::constellation_msg::ConstellationChan;
use script_traits::ScriptMsg as ConstellationMsg;
@ -334,3 +335,5 @@ impl VirtualMethods for HTMLTextAreaElement {
}
impl FormControl for HTMLTextAreaElement {}
impl Validatable for HTMLTextAreaElement {}