Any interest in integrating HTML5 display definitions from normalize.css into html-reset.css, and perhaps other smart stuff from there (html5boilerplate uses this), but specifcally the html5 stuff? I changed their ie star hack into zen's ie conditional classes, but left in "zoom" for brevity.

/*
 * Corrects block display not defined in IE6/7/8/9 & FF3
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

/*
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
 */
audio,
canvas,
video {
  display: inline-block;
}

.ie6-7 audio,
.ie6-7 canvas,
.ie6-7 video {
  display: inline;
  zoom: 1;
}

/*
 * Prevents modern browsers from displaying 'audio' without controls
 */
audio:not([controls]) {
  display: none;
}

/*
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
 * Known issue: no IE6 support
 */
[hidden] {
  display: none;
}
CommentFileSizeAuthor
#3 1295296-2-html5-legacy.patch1.44 KBJohnAlbin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JohnAlbin’s picture

How about we combine this with the patch that landed for D8? #1321678: Provide default styling for block-level HTML5 elements

JohnAlbin’s picture

Title: Add HTML5 display definitions from normalize.css » Add HTML5 display definitions from D8 and normalize.css
Status: Active » Needs review
FileSize
1.44 KB

Here's a patch I'm considering.

JohnAlbin’s picture

Status: Needs review » Fixed

Thanks, Elly! You're in the CHANGELOG now. :-)

Status: Fixed » Closed (fixed)

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