Lines Matching refs:ValidityState
1415 * html/ValidityState.cpp:
1416 (WebCore::ValidityState::typeMismatch):
1526 Tests: fast/forms/ValidityState-rangeOverflow-date.html
1527 fast/forms/ValidityState-rangeUnderflow-date.html
9714 ValidityState can hold a stale pointer to control
9718 Test: fast/forms/ValidityState-removed-control.html
9721 RefPtr to point to the ValidityState object.
9723 * html/ValidityState.cpp: Use a constant instead of a
9725 (WebCore::ValidityState::validationMessage): Use
9728 (WebCore::ValidityState::typeMismatch): Ditto.
9730 (WebCore::ValidityState::rangeUnderflow): Ditto.
9731 (WebCore::ValidityState::rangeOverflow): Ditto.
9732 (WebCore::ValidityState::stepMismatch): Ditto.
9733 (WebCore::ValidityState::valid): Ditto.
9734 (WebCore::ValidityState::isValidEmailAddress):
9738 * html/ValidityState.h: Removed RefCounted as a base
18061 * html/ValidityState.idl:
30624 * html/ValidityState.cpp: new method to retrieve pertinent localized text
30625 * html/ValidityState.h:
30718 Add support for ValidityState.typeMismatch for the following INPUT types:
30722 Tests: fast/forms/ValidityState-typeMismatch-date.html
30723 fast/forms/ValidityState-typeMismatch-datetime.html
30724 fast/forms/ValidityState-typeMismatch-datetimelocal.html
30725 fast/forms/ValidityState-typeMismatch-month.html
30726 fast/forms/ValidityState-typeMismatch-time.html
30727 fast/forms/ValidityState-typeMismatch-week.html
30733 * html/ValidityState.cpp:
30734 (WebCore::ValidityState::typeMismatch): Check the type validity
30819 Tests: fast/forms/ValidityState-stepMismatch-number.html
30820 fast/forms/ValidityState-stepMismatch-range.html
30821 fast/forms/ValidityState-stepMismatch-unsupported.html
30831 * html/ValidityState.cpp:
30832 (WebCore::ValidityState::stepMismatch): Forward to HTMLInputElement::stepMismatch().
30833 * html/ValidityState.h:
46812 Test: fast/forms/ValidityState-typeMismatch-email.html
46814 * html/ValidityState.cpp:
46815 (WebCore::ValidityState::typeMismatch): ValidityState.typeMismatch
46817 (WebCore::ValidityState::isValidEmailAddress): simple validation method
46818 * html/ValidityState.h:
49629 Implement min/max attributes, ValidityState.rangeUnderflow and
49630 ValidityState.rangeOverflow for <input type=number> and <input type=range>
49636 Tests: fast/forms/ValidityState-rangeOverflow-number.html
49637 fast/forms/ValidityState-rangeOverflow-range.html
49638 fast/forms/ValidityState-rangeUnderflow-number.html
49639 fast/forms/ValidityState-rangeUnderflow-range.html
49649 * html/ValidityState.cpp:
49650 (WebCore::ValidityState::rangeUnderflow):
49651 (WebCore::ValidityState::rangeOverflow):
49652 * html/ValidityState.h:
50646 * html/ValidityState.cpp:
50647 * html/ValidityState.h:
50648 (WebCore::ValidityState::rangeUnderflow):
50649 (WebCore::ValidityState::rangeOverflow):
50692 Implement min/max attributes, ValidityState.rangeUnderflow and
50693 ValidityState.rangeOverflow for <input type=number> and <input type=range>
50696 Tests: fast/forms/ValidityState-rangeOverflow-number.html
50697 fast/forms/ValidityState-rangeOverflow-range.html
50698 fast/forms/ValidityState-rangeUnderflow-number.html
50699 fast/forms/ValidityState-rangeUnderflow-range.html
50709 * html/ValidityState.cpp:
50710 (WebCore::ValidityState::rangeUnderflow):
50711 (WebCore::ValidityState::rangeOverflow):
50712 * html/ValidityState.h:
52497 Adds ValidityState.tooLong support for <input> and <textarea>.
52509 Tests: fast/forms/ValidityState-tooLong-input.html
52510 fast/forms/ValidityState-tooLong-textarea.html
52525 * html/ValidityState.h:
52526 (WebCore::ValidityState::tooLong):
59508 * html/ValidityState.cpp:
59509 (WebCore::ValidityState::typeMismatch):
59517 ValidityState, for url state inputs.
59521 Test: fast/forms/ValidityState-typeMismatch-url.html
59523 * html/ValidityState.cpp:
59524 (WebCore::ValidityState::typeMismatch):
61208 Implement ValidityState::typeMismatch() for <input type=number>.
61211 Test: fast/forms/ValidityState-typeMismatch-number.html
61216 * html/ValidityState.cpp:
61217 (WebCore::ValidityState::typeMismatch):
61218 * html/ValidityState.h:
62687 - ValidityState::typeMismatch supports for type=color.
62690 Tests: fast/forms/ValidityState-patternMismatch-unsupported.html
62691 fast/forms/ValidityState-typeMismatch-color.html
62712 * html/ValidityState.cpp:
62713 (WebCore::ValidityState::typeMismatch):
62714 (WebCore::ValidityState::isValidColorString):
62715 * html/ValidityState.h:
69284 control elements (wraps ValidityState::valid())
75660 Support for a custom validation message in ValidityState and related
75664 Tests: fast/forms/ValidityState-customError-001.html
75665 fast/forms/ValidityState-customError-002.html
75666 fast/forms/ValidityState-customError-003.html
75667 fast/forms/ValidityState-customError-004.html
75678 * html/ValidityState.h:
75679 (WebCore::ValidityState::setCustomErrorMessage): method to set custom
75681 (WebCore::ValidityState::customError): validation flag
80503 Tests: fast/forms/ValidityState-002.html
80504 fast/forms/ValidityState-patternMismatch-001.html
80505 fast/forms/ValidityState-patternMismatch-002.html
80506 fast/forms/ValidityState-patternMismatch-003.html
80507 fast/forms/ValidityState-patternMismatch-004.html
80508 fast/forms/ValidityState-patternMismatch-005.html
80509 fast/forms/ValidityState-patternMismatch-006.html
80510 fast/forms/ValidityState-patternMismatch-007.html
80522 * html/ValidityState.h:
80523 (WebCore::ValidityState::patternMismatch): validation flag
84499 to the ValidityState object and :required/:optional CSS pseudoclasses.
84509 fast/forms/ValidityState-valueMissing-001.html
84510 fast/forms/ValidityState-valueMissing-002.html
84511 fast/forms/ValidityState-valueMissing-003.html
84512 fast/forms/ValidityState-valueMissing-004.html
84513 fast/forms/ValidityState-valueMissing-005.html
84514 fast/forms/ValidityState-valueMissing-006.html
84515 fast/forms/ValidityState-valueMissing-007.html
84516 fast/forms/ValidityState-valueMissing-008.html
84517 fast/forms/ValidityState-valueMissing-009.html
84551 * html/ValidityState.cpp:
84552 * html/ValidityState.h:
84553 (WebCore::ValidityState::valueMissing): validation flag
86337 Added build stuff and stub for the ValidityState class, part of HTML5
86341 Test: fast/forms/ValidityState-001.html
86343 * DerivedSources.cpp: Inclusion of ValidityState files
86354 (WebCore::HTMLFormControlElement::validity): ValidityState getter
86359 * html/ValidityState.cpp: Added.
86360 (WebCore::ValidityState::ValidityState):
86361 (WebCore::ValidityState::valid): validation flag
86362 * html/ValidityState.h: Added.
86363 (WebCore::ValidityState::create): validation flag
86364 (WebCore::ValidityState::control): ditto
86365 (WebCore::ValidityState::valueMissing): ditto
86366 (WebCore::ValidityState::typeMismatch): ditto
86367 (WebCore::ValidityState::patternMismatch): ditto
86368 (WebCore::ValidityState::tooLong): ditto
86369 (WebCore::ValidityState::rangeUnderflow): ditto
86370 (WebCore::ValidityState::rangeOverflow): ditto
86371 (WebCore::ValidityState::stepMismatch): ditto
86372 (WebCore::ValidityState::customError): ditto
86373 * html/ValidityState.idl: Added.
87088 * html/ValidityState.cpp: Removed.
87089 * html/ValidityState.h: Removed.
87090 * html/ValidityState.idl: Removed.
88041 Added build stuff and stub for the ValidityState class, part of HTML5
88045 Test: fast/forms/ValidityState-001.html
88047 * DerivedSources.cpp: Fix aimed to include ValidityState files
88063 * html/ValidityState.cpp: Added.
88064 (WebCore::ValidityState::ValidityState):
88065 (WebCore::ValidityState::valid): validation flag
88066 * html/ValidityState.h: Added.
88067 (WebCore::ValidityState::create): creation routine
88068 (WebCore::ValidityState::control): ValidityState's parent getter
88069 (WebCore::ValidityState::valueMissing): validation flag
88070 (WebCore::ValidityState::typeMismatch): ditto
88071 (WebCore::ValidityState::patternMismatch): ditto
88072 (WebCore::ValidityState::tooLong): ditto
88073 (WebCore::ValidityState::rangeUnderflow): ditto
88074 (WebCore::ValidityState::rangeOverflow): ditto
88075 (WebCore::ValidityState::stepMismatch): ditto
88076 (WebCore::ValidityState::customError): ditto
88077 * html/ValidityState.idl: Added.