[Webkit-unassigned] [Bug 65497] maxlength = 0 on input is ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 18 19:57:19 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=65497





--- Comment #3 from Kent Tamura <tkent at chromium.org>  2011-08-18 19:57:19 PST ---
(From update of attachment 104437)
View in context: https://bugs.webkit.org/attachment.cgi?id=104437&action=review

Thank you for fixing this.
The change looks ok.

> LayoutTests/fast/forms/input-text-paste-maxlength.html:102
> +debug("pasting too much text with maxlength=0");
> +document.getElementById("l").focus();
> +document.execCommand("InsertHTML", false, "12x&#x305;&#x332;45");
> +shouldBe("domValueOf('l')", "''");
> +shouldBe("visibleValueOf('l')", "''");
> +

Would you add similar test cases to fast/forms/textarea-maxlength.html please?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list