twitter/bootstrap — pull request #1879 by jmar777 (2012-02-09 20:37:39+00:00)
Title: webkit legend margin fix for non-horizontal forms

Because margin-bottom always collapses on legend elements in webkit, the element following the legend must be responsible for vertical spacing. A fix for this had already been applied in bootstrap for .form-horizontal forms, but stacked forms don't benefit from that.

This pull request simply moves the fix out of the .form-horizontal specific styling, and applies it to all .control-group elements that immediately follow a legend.