1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!DOCTYPE HTML> <html> <head> <title>Testcase for bug 776265 - checks max-height</title> <style type="text/css"> textarea { float: left; height: 70px; width: 50px; max-height: 50px; border: 1px solid #aaa; padding: 4px; } </style> </head> <body><textarea></textarea> </body> </html>