Bug 148873

Summary: Form validation tests fail
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, cdumez, mkhatib727, webkit-bug-importer, webkit
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=248401

Description Ryosuke Niwa 2015-09-04 19:44:19 PDT
The following tests imported under LayoutTests/http/tests/w3c/ are failing:

html/semantics/forms/constraints/form-validation-checkValidity.html
html/semantics/forms/constraints/form-validation-reportValidity.html
html/semantics/forms/constraints/form-validation-validate.html
html/semantics/forms/constraints/form-validation-validity-badInput.html
html/semantics/forms/constraints/form-validation-validity-rangeOverflow.html
html/semantics/forms/constraints/form-validation-validity-rangeUnderflow.html
html/semantics/forms/constraints/form-validation-validity-stepMismatch.html
html/semantics/forms/constraints/form-validation-validity-tooLong.html
html/semantics/forms/constraints/form-validation-validity-tooShort.html
html/semantics/forms/constraints/form-validation-validity-valid.html
html/semantics/forms/constraints/form-validation-validity-valueMissing.html
html/semantics/forms/constraints/form-validation-willValidate.html

We should investigate why they're failing.
Comment 1 Radar WebKit Bug Importer 2015-09-04 19:44:56 PDT
<rdar://problem/22590172>
Comment 2 Chris Rebert 2015-10-07 19:47:11 PDT
http://w3c-test.org/html/semantics/forms/constraints/form-validation-reportValidity.html
http://w3c-test.org/html/semantics/forms/constraints/form-validation-validate.html
    These two fail because the .reportValidity() method hasn't been implemented.

http://w3c-test.org/html/semantics/forms/constraints/form-validation-validity-tooShort.html
    Fails because ValidityState.tooShort hasn't been implemented; see Bug 149832.
    (Additionally, this test is buggy: https://github.com/w3c/web-platform-tests/issues/2214 )


Most of the other failures are because <input> type=color, type=datetime, type=date, type=month, type=week, and type=time haven't been implemented on desktop OSes (e.g. Bug 88026, Bug 119175).
Comment 3 Chris Rebert 2015-10-07 20:31:25 PDT
html/semantics/forms/constraints/form-validation-validity-tooLong.html
    There are a few failures here caused by Bug 149911.