jQuery Mobile: 1.3.1
If the <legend> text is too long it will overflow underneath the form elements, instead of wrapping around inside the container element.
This does not occur in Firefox (22, Ubuntu 12.04), Chrome (27.0.1453.116 m, Windows 7), or Opera (12.16, Ubuntu 12.04). In those browsers, the text correctly wraps around to a new line on the left side of the form elements.
Controlgroup: Make legend wrap on IE10. Fixes #6139.
@tomascassidy - Thanks for reporting the issue! It has been fixed.