Closed Bug 1203844 Opened 7 years ago Closed 6 years ago
State .too Long isn't true after user deletes some chars but not enough to comply with maxlength
We basically don't implement the "tooLong" validity state thing at all. There's a TODO comment in the code pointing to bug 613016 and bug 613019. The latter seems like a prerequisite for the behavior this bug is asking for.
Depends on: 613019
(In reply to Boris Zbarsky [:bz] from comment #1) > We basically don't implement the "tooLong" validity state thing at all. Well, you do implement it insofar as the property exists (with a constant value of `false`) rather than being `undefined`, which makes trying to feature-detect proper support for `.tooLong` more trouble than it's worth. > The latter [bug 613019] seems like a prerequisite for the behavior this bug is asking for. Agreed.
This bug should be fixed now that bug 613019 just landed.
Indeed. Test passes in current Nightly.
Do we have tests for this?
Yes, a test for this was added as part of bug 613019. See https://hg.mozilla.org/mozilla-central/file/e2bb8f329f10/dom/html/test/test_bug613019.html
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.