This issue responds to #1913692: Convert Seven to HTML5 .

All HTML elements are display:inline by default. New HTML5 sectioning elements need to be set to display:block for browsers that don't include them in their user agent stylesheets.

This is a one-line fix with little risk. Patch forthcoming after I get an issue number.

Comments

jessebeach’s picture

StatusFileSize
new841 bytes

Adds main to the list of HTML5 elements that should be set to display: block.

jessebeach’s picture

Status: Active » Needs review

Status: Needs review » Needs work
Issue tags: -html5, -Seven

The last submitted patch, main-element-display-block-1943142-1.patch, failed testing.

echoz’s picture

Status: Needs work » Needs review
Issue tags: +html5, +Seven
echoz’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch, Jesse (plus this #1943120: Decide whether to keep the main tag in templates).
Note that normalize added main in v 2.1.0 (Jan 2013)

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.