[CSS] Moved the rule from below the legend element to above it.
Merge pull request #6395 from thomasgohard/form-legend-rule

[CSS] Moved the rule from below the legend element to above it.