mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #8747 - KiChjang:form-interactive-validation, r=Manishearth
Implement basic framework for static and interactive validation on forms This came along when I was trying to do #3648. I was about to do form validation as well, but then I saw it was actually intended to be a student project. Hopefully I didn't step on too many toes on this one; I did leave most of the important bits out (the fun bits I believe, e.g. interactive validation doesn't actually interactively validate anything right now). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8747) <!-- Reviewable:end -->
This commit is contained in:
commit
d9bf1ba616
7 changed files with 165 additions and 249 deletions
|
@ -11,7 +11,7 @@ interface HTMLButtonElement : HTMLElement {
|
|||
attribute DOMString formAction;
|
||||
attribute DOMString formEnctype;
|
||||
attribute DOMString formMethod;
|
||||
// attribute boolean formNoValidate;
|
||||
attribute boolean formNoValidate;
|
||||
attribute DOMString formTarget;
|
||||
attribute DOMString name;
|
||||
attribute DOMString type;
|
||||
|
|
|
@ -18,7 +18,7 @@ interface HTMLInputElement : HTMLElement {
|
|||
attribute DOMString formAction;
|
||||
attribute DOMString formEnctype;
|
||||
attribute DOMString formMethod;
|
||||
// attribute boolean formNoValidate;
|
||||
attribute boolean formNoValidate;
|
||||
attribute DOMString formTarget;
|
||||
// attribute unsigned long height;
|
||||
attribute boolean indeterminate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue