[Bug 15520] New: In 1.2 I see example: <h1 itemscope> <data itemprop="product-id" value="9678AOU879">The Instigator 2000</data> </h1> Here, there is an item with a property whose value is a product ID. The ID is not human-friendly, so the product's name is used the human

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15520

           Summary: In 1.2 I see example: <h1 itemscope>  <data
                    itemprop="product-id" value="9678AOU879">The
                    Instigator 2000</data> </h1> Here, there is an item
                    with a property whose value is a product ID. The ID is
                    not human-friendly, so the product's name is used the
                    human
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML Microdata (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://dev.w3.org/html5/md/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
In 1.2 I see example:
<h1 itemscope>
 <data itemprop="product-id" value="9678AOU879">The Instigator 2000</data>
</h1>

Here, there is an item with a property whose value is a product ID. The ID is
not human-friendly, so the product's name is used the human-visible text
instead of the ID.

But instead of attribute named "value" I propose use attribute named
"itemvalue". So there will be difference between common attribute named
"value" that is for HTML and attribute named "itemvalue" that is for microdata
only. In my opinion correct example must be:
<h1 itemscope>
 <data itemprop="product-id" itemvalue="9678AOU879">The Instigator 2000</data>

</h1>

Posted from: 94.180.63.190
User agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.7 (KHTML, like Gecko)
Chrome/16.0.912.75 Safari/535.7

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 11 January 2012 14:00:45 UTC