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 23423 - microdata: @datetime could be recognized as the property value also in <ins> and <del> elements.
Summary: microdata: @datetime could be recognized as the property value also in <ins> ...
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 08:12 UTC by contributor
Modified: 2014-01-03 21:09 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-10-02 08:12:11 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html
Multipage: http://www.whatwg.org/C#values
Complete: http://www.whatwg.org/c#values
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
@datetime could be recognized as value also in <ins> and <del> elements.

Posted from: 84.220.208.48
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
Comment 1 Ian 'Hixie' Hickson 2013-10-03 18:39:05 UTC
Why? I don't understand the use case here.
Comment 2 Andrea Rendine 2013-10-03 22:42:30 UTC
Well perhaps I stretched lines when I created a page using Microdata this way but it's an example of conversion from RDFa and there it worked.
On one hand, it would also reduce the number of special cases: where present, @datetime would be always considered. But there is more.
I use Schema.org vocabulary for simple structured data on a webpage. IDK if it is too much of an indication, but I use a Schema:Webpage and a something else inside the page (usually an article with reviews) and I wanted to highlight both a Schema:Webpage.dateCreated/dateModified (hoping that search engines use this piece of data to index and refresh pages basing on recent changes, too) AND e.g. a Schema:Review.datePublished. In order to do so, with RDFa I usually pass as relevant date for the page the <ins@datetime> within which the review is shown. Then the <article> of the review constitutes a Schema:Review and the <time> element inside it conveys the relevant date for the article.
Comment 3 Ian 'Hixie' Hickson 2013-10-04 19:48:30 UTC
Can you give an example of where you would do this?

I'm finding it hard to understand why a page with <ins> would have a different microdata model than the same page with all the <ins> elements removed. The whole point of <ins> is to indicate that a part of the document was inserted, not to change the meaning of the document. When would you use itemprop="" on <ins>?
Comment 4 Ian 'Hixie' Hickson 2014-01-02 23:14:31 UTC
Please re-open if you respond to comment 3. Thanks.