Fixes #7682. 'Input textarea auto height' - Improve detection single/multiple...

Fixes #7682. 'Input textarea auto height' - Improve detection single/multiple lines, improve doc, enhance unit tests.
3 jobs for master in 2 minutes and 49 seconds (queued for 1 second)