Hi,

The following error appears on the Markup Validation Service:

The frameborder attribute on the iframe element is obsolete. Use CSS instead.

According to w3scools

The frameborder attribute is not supported in HTML5. Use CSS instead.
Therefore I'm attaching a patch to be reviewed and commited. The patch is using the seamless attribute and CSS as a fallback for IE & FireFox. Thanks, Rotem
CommentFileSizeAuthor
w3c_html5_validation.patch1.1 KBrreiss

Comments

devin carlson’s picture

Status: Needs review » Closed (works as designed)

Thanks for the patch!

Drupal 7 supports XHTML 1.0 Strict. If you're using it with HTML 5 then I'd suggest overriding template files such as media-youtube-video.tpl.php as required and making any changes necessary to support HTML 5.