DescriptionImprove <textarea> validation performance.
HTMLTextAreaElement::value() is a costly operation, and we can avoid it
if a <textarea> has neither 'required' attribute nor 'maxlength' attribute.
This CL improves PerformanceTests/DOM/textarea-dom.html and
textarea-edit.html by a few percent.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181785
Patch Set 1 : #
Messages
Total messages: 8 (4 generated)
|