Steps to reproduce:
1. Load testcase in a debug build.
Result:
###!!! ASSERTION: Form control has a frame, but it's not a form frame: 'Error',
file
/Users/admin/trunk/mozilla/content/html/content/src/nsGenericHTMLElement.cpp,
line 2286