- From: <bugzilla@jessica.w3.org>
- Date: Wed, 21 Sep 2011 22:47:33 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14234 Summary: Rules for parsing non-negative integers should re-use rules for parsing signed integers and add a >= 0 check Product: HTML WG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: HTML5 spec (editor: Ian Hickson) AssignedTo: ian@hixie.ch ReportedBy: mounir.lamouri@gmail.com QAContact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-wg-issue-tracking@w3.org, public-html@w3.org, Ms2ger@gmail.com It would make things easier for everyone: increase readability, reduce chances of errors, of inconsistency, ... In addition, it would fix the following bug in the specs: "-0" is currently considered as an invalid value according at the rules for parsing non-negative integers which means if "-0" is set to a content attribute, the IDL attribute should return the default value. This is not what implementations I've tested (Presto, Webkit, Gecko) seem to do: "-0" is parsed as "0". -- 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 Wednesday, 21 September 2011 22:47:35 UTC