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 10352 - The range of unsigned long should be [0, 2147483647], since no browser allows setting to values outside that range
Summary: The range of unsigned long should be [0, 2147483647], since no browser allows...
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 14:26 UTC by contributor
Modified: 2010-10-04 14:33 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2010-08-12 14:26:25 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#reflecting-content-attributes-in-idl-attributes

Comment:
The range of unsigned long should be defined to be [0, 2147483647], since no
browser allows setting to values outside that range.  See
<https://bugzilla.mozilla.org/show_bug.cgi?id=586118>.	In the following test
case, Mozilla, Chrome, and Safari output 0, and Opera and IE output
2147483647: data:text/html,<!doctype html> <input size=3000000000> <script>
alert(document.getElementsByTagName("input")[0].size); </script>

Posted from: 68.175.61.233
Comment 1 Ian 'Hixie' Hickson 2010-09-24 00:19:11 UTC
EDITOR'S RESPONSE: This is an Editor'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 diff given below
Rationale: Concurred with reporter's comments.
Comment 2 contributor 2010-09-24 00:46:26 UTC
Checked in as WHATWG revision r5472.
Check-in comment: Match reality for reflection of unsigned long IDL attrs.
http://html5.org/tools/web-apps-tracker?from=5471&to=5472
Comment 3 contributor 2010-09-25 18:53:08 UTC
Checked in as WHATWG revision r5494.
Check-in comment: unsigned long range - extend fix in r5472 to cover also those unsigned long attributes limited to non-zero values.
http://html5.org/tools/web-apps-tracker?from=5493&to=5494