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 14379 - Definition of the output element requires amending
Summary: Definition of the output element requires amending
Status: RESOLVED FIXED
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 16:11 UTC by Rich Clark
Modified: 2012-09-15 21:51 UTC (History)
4 users (show)

See Also:


Attachments

Description Rich Clark 2011-10-04 16:11:09 UTC
I've seen several examples of the output element being used in conjunction with an input (e.g. type=range) to show the current value of the input. An example can be seen here - http://jsfiddle.net/robertc/YCEKQ/

This seems a worthwhile use case in order to provide feedback for a user when they are using a range input type where the current value isn't visible. 

Currently the spec describes output as being "the result of a calculation."
http://dev.w3.org/html5/spec/the-button-element.html#the-output-element

Moving a slider (type=range) isn't calculating anything, it's simply displaying the current value. Therefore I feel the definition needs amending. I suggest widening the definition to something like: "the result of a calculation or user action on an input element."

I briefly brought this up on IRC for reference. http://krijnhoetmer.nl/irc-logs/whatwg/20111004#l-524
Comment 1 contributor 2012-07-18 08:00:33 UTC
This bug was cloned to create bug 18007 as part of operation convergence.
Comment 2 contributor 2012-09-15 21:51:17 UTC
Checked in as WHATWG revision r7356.
Check-in comment: Try to be a little looser in <output>'s definition.
http://html5.org/tools/web-apps-tracker?from=7355&to=7356