twitter/bootstrap — pull request #1867 by jmar777 (2012-02-09 14:43:25+00:00)
Title: Apply webkit margin-bottom fix for legends to non-horizontal forms as well

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`.