Open Bug 555985 Opened 11 years ago Updated 1 year ago

Remaining <meter> work

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

ASSIGNED

People

(Reporter: mounir, Assigned: mounir)

References

(Depends on 3 open bugs, Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed, html5, student-project)

The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate.

This shouldn't be used as a progress bar. For that role, HTML provides a separate progress element.
On Windows, will the meter be blue, like in Windows Explorer?
Keywords: dev-doc-needed
Added initial page/documentation at https://developer.mozilla.org/en/HTML/Element/meter with header for unimplemented.  Definitely needs better examples, and the attributes section may need clarification/rework to make it easier to understand the relationships between value/min/max/low/high/optimum.  Will need any application-specific notes and gecko-minversion header when support is added.
Three students (Vincent, Laurent and Yoan) are going to spend a month working on this new HTML element for a university project.
I'm assigning the bug to myself to make clear that someone is working on this bug I'm only mentoring them ;)
Assignee: nobody → mounir.lamouri
Status: NEW → ASSIGNED
Keywords: student-project
Whiteboard: [mentor=volkmar]
Depends on: 657938
No longer depends on: 657941
Depends on: 657941
Depends on: 657941
Depends on: 657953
Blocks: 659999
No longer blocks: 659999
Depends on: 659999
Depends on: 660232
Depends on: 660238
Depends on: 661252
Depends on: 661256
No longer depends on: 661256
Depends on: 662251
Summary: Implement meter element → Implement meter element enough to ship
No longer blocks: 559770
Depends on: 559770
Depends on: 662870
Depends on: 663119
Depends on: 663365
Depends on: 663490
Depends on: 686886
Depends on: 686913
Depends on: 687202
Sorry for the bugspam but anything new ?
Depends on: 748238
No longer depends on: 686913
No longer blocks: 822578
Depends on: 822578
No longer depends on: 822578
Isn't it working already? Apllying:
document.body.innerHTML='<p>Heat the oven to <meter min="200" max="500" value="350">350 degrees</meter>.</p>'
works. (code taken from MDN docs)
I tested <meter> on Firefox 18, Linux and OSX using the MDN examples, and I can confirm that it works.

Test case: http://jsbin.com/ogokay/2/edit
<meter> is indeed implemented. However, three things are missing and those are the three open bugs blocking this one. We should ideally fix them to consider to be completely done with <meter>.
Whiteboard: [mentor=volkmar]
Summary: Implement meter element enough to ship → Remaining <meter> work
Priority: -- → P3
Blocks: html-forms
Depends on: 1460378
You need to log in before you can comment on or make changes to this bug.