Bug 52565 - HTMLFormElement::checkValidity() returns incorrect result if 'invalid' events are canceled.
Summary: HTMLFormElement::checkValidity() returns incorrect result if 'invalid' events...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Kent Tamura
Depends on:
Blocks: 28649
  Show dependency treegraph
Reported: 2011-01-17 03:43 PST by Kent Tamura
Modified: 2011-01-25 20:53 PST (History)
6 users (show)

See Also:

Patch (11.10 KB, patch)
2011-01-17 03:54 PST, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2011-01-17 03:43:34 PST
HTMLFromElement::checkValidity() returns incorrect result if 'invalid' events are canceled.
Comment 1 Kent Tamura 2011-01-17 03:54:55 PST
Created attachment 79150 [details]
Comment 2 Kent Tamura 2011-01-17 03:57:23 PST
The specification [1] says HTMLFormElement::checkValidity() result should check existence of invalid controls, not unhandled invalid controls.

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#constraint-validation
Comment 3 Dimitri Glazkov (Google) 2011-01-25 17:53:18 PST
Comment on attachment 79150 [details]

Comment 4 Kent Tamura 2011-01-25 20:01:05 PST
Landed: http://trac.webkit.org/changeset/76663
Comment 5 WebKit Review Bot 2011-01-25 20:53:51 PST
http://trac.webkit.org/changeset/76663 might have broken Leopard Intel Release (Tests)