[Bug 11749] Do we really want values to wrap instead of clamping?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11749

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Cameron McCormack <cam@mcc.id.au> 2011-05-24 22:26:15 UTC ---
I don't know about compatibility with content.  I'm inclined to leave it as is,
for the reason Boris states, and that the wrapping is what the ES5 spec uses
when builtin functions need to convert a value to an integer.

FWIW,

data:text/html,<script>a=document.createElement("input");a.size=4294967297;alert(a.size)</script>

alerts "1" (4294967297 being 2^32+1) in Firefox, Safari, Chrome and IE.  In
Opera it alerts "-2147483648"

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 24 May 2011 22:26:17 UTC