jhy/jsoup — pull request #264 by PiWizard (2012-11-16 20:50:14+00:00)
Title: Defect 249

It is meant to fix 249.

Add's a FormElement which extends Element and keeps track of elements associated with a form (That aren't necessarily found within a form).
When a form is open and an input added it checks if a form is open and adds the element to the form.
When the form is closed since no forms are around the inputs won't be added anywhere.

Tested with two different forms in the same table, they both get 3 input elements each (Different elements).

Not sure if it follows your standards but I said in a message on the group, you won't be able to do everything with one base Element unless you want it crowded.