W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 12296] Rules for parsing an integer don't match ES parseInt()

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Mar 2011 17:54:12 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PzBy8-0005uU-OT@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12296

--- Comment #4 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-03-14 17:54:11 UTC ---
Actually, here's an even better test-case:

data:text/html,<!doctype html>
<script>
var ol = document.createElement("ol");
ol.setAttribute("start", "\x0b2");
alert(ol.start);
</script>

Per spec, this should alert "1".  It alerts "2" in all browsers (IE9 RC,
Firefox 4 RC, Chrome 11 dev, and Opera 11).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 14 March 2011 17:54:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 March 2011 17:54:20 GMT