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 22274 - <meter> should work better with microdata. It would make sense to use value attribute as property value. It would be useful when a property takes value from known range and it is represented as a gaug [...]
Summary: <meter> should work better with microdata. It would make sense to use value a...
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-06-05 01:42 UTC by contributor
Modified: 2013-06-12 22:20 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-06-05 01:42:49 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:
<meter> should work better with microdata. It would make sense to use value
attribute as property value. It would be useful when a property takes value
from known range and it is represented as a gauge, for example <meter
itemprop=score min=0 max=10 value=8>quite good</meter> (if md vocabulary
specifies "score" to take value between 0 and 10). Other attributes of <meter>
wouldn't be represented in microdata, separate property elements (probably
<meta>) would  be needed if range needs to be represented in md. <progress> is
less likely to be useful with microdata since it is mostly intended for use by
scripts, but it makes sense to treat it in same way for consistency with
<meter>. <param> should use value attribute for microdata too.

Posted from: 37.130.227.133
User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0
Comment 1 Ian 'Hixie' Hickson 2013-06-12 22:19:14 UTC
<meter> makes sense, I've added that.

<progress> and <param> I don't understand. Can you elaborate?

(Making <progress> and <meter> similar is actually a non-goal; they both exist precisely to avoid them being treated the same.)
Comment 2 contributor 2013-06-12 22:20:34 UTC
Checked in as WHATWG revision r7966.
Check-in comment: Add <meter> to microdata, and <meter> and <progress> to the table sorting algorithm.
http://html5.org/tools/web-apps-tracker?from=7965&to=7966