This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16582 - Validator believes content not an allowed attribute for element meta
Summary: Validator believes content not an allowed attribute for element meta
Status: RESOLVED FIXED
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Macintosh MacOS X
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 11:35 UTC by Andreas Ehn
Modified: 2015-08-23 07:07 UTC (History)
1 user (show)

See Also:


Attachments
Screenshot of the error message (27.39 KB, image/png)
2012-03-30 11:35 UTC, Andreas Ehn
Details

Description Andreas Ehn 2012-03-30 11:35:56 UTC
Created attachment 1107 [details]
Screenshot of the error message

Validating this page:

https://www.wrapp.com/

The validator complains about content attributes in meta elements:

Line 5, Column 42: Attribute content not allowed on element meta at this point.

I would have expected a complaint about the property element, but content is definitely allowed.
Comment 1 Ville Skyttä 2012-03-31 13:08:33 UTC
http://www.whatwg.org/specs/web-apps/current-work/#meta

"If either name, http-equiv, or itemprop is specified, then the content attribute must also be specified. Otherwise, it must be omitted."

The mentioned line 5 of https://www.wrapp.com/ is does not have name, http-equiv, or itemprop.
Comment 2 Michael[tm] Smith 2012-04-02 02:53:34 UTC
Reopening because by default the HTML5 validator also is intended to support RDFa Lite 1.1, and that allows <meta content="Wrapp" property="og:title">, etc. (e.g., as used by the Facebook Open Graph).

So it seems I have a bug in the HTML5 validator that I need to fix.
Comment 3 Michael[tm] Smith 2012-04-02 07:47:17 UTC
Fixed in the source now, and re-deployed for http://validator.w3.org/nu and http://validator.w3.org