Bug 148873 - Form validation tests fail
Summary: Form validation tests fail
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2015-09-04 19:44 PDT by Ryosuke Niwa
Modified: 2023-03-28 23:09 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.