<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10767</bug_id>
          
          <creation_ts>2010-09-27 12:03:46 +0000</creation_ts>
          <short_desc>The &lt;progress&gt; and &lt;meter&gt; elements&apos; value IDL attribute should be constrained by the range. Just like with &lt;input type=range&gt;.</short_desc>
          <delta_ts>2010-10-07 21:07:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-progress-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39568</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-09-27 12:03:46 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#the-progress-element

Comment:
The &lt;progress&gt; and &lt;meter&gt; elements&apos; value IDL attribute should be constrained
by the range. Just like with &lt;input type=range&gt;.

Posted from: 83.85.115.123 by annevk@opera.com</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39569</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-27 12:05:18 +0000</bug_when>
    <thetext>Reportedly it already is in WebKit and it will also be that way in Opera.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39570</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-27 12:06:59 +0000</bug_when>
    <thetext>Thanks to Emil Segerås by the way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39906</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-29 07:58:47 +0000</bug_when>
    <thetext>What do you mean by &quot;constrained by the range&quot;? I&apos;m not sure what part of &lt;input type=range&gt; you&apos;re referring to here. Can you elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39909</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-29 08:11:45 +0000</bug_when>
    <thetext>That when you set it, it is constrained by min/max. And when the value content attribute is outside the range the IDL attribute is still constrained on getting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40278</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-30 19:42:17 +0000</bug_when>
    <thetext>Ah, I see. Yeah, I guess that does happen for type=range, since .value returns the /value/ which is constrained. I guess we can do that for &lt;progress&gt; and &lt;meter&gt;...

So basically:

* progress.value should be changed to return the &quot;current value&quot; (which I should also turn into an xreffed term while I&apos;m at it) on getting and set the content attribute on setting.

* meter.value should return the &quot;actual value&quot; (which should also be xreffed) on getting and on setting set the content attribute.

Right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40313</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-30 21:45:59 +0000</bug_when>
    <thetext>Yeah, correct. (I was wrong on how setting should work.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40805</commentid>
    <comment_count>7</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-10-07 20:56:29 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r5591.
Check-in comment: Make progress.value clamp to the maximum on getting.
http://html5.org/tools/web-apps-tracker?from=5590&amp;to=5591</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40806</commentid>
    <comment_count>8</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-10-07 21:06:43 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r5592.
Check-in comment: Make meter.value clamp to the specified range on getting.
http://html5.org/tools/web-apps-tracker?from=5591&amp;to=5592</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40807</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-10-07 21:07:30 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diffs given above
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>