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

[Bug 14234] Rules for parsing non-negative integers should re-use rules for parsing signed integers and add a >= 0 check

From: <bugzilla@jessica.w3.org>
Date: Thu, 20 Oct 2011 22:15:06 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RH0tG-0003WE-UJ@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14234

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |FIXED

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-20 22:15:06 UTC ---
Do you have any test cases showing your tests? Opera and IE seem to do what the
spec says for Refresh, Opera does what the spec says for <canvas width>...

Sample tests:
<meta http-equiv="Refresh" content="-0;URL=/">
x<canvas width=-0></canvas>x
<table><tr><td
rowspan="-0"></table><script>w(document.getElementsByTagName('td')[0].rowSpan)</script>

Anyway, it does seem like at least some browsers do the -0 == 0 thing and the
+2 == 2 for each of the things I tested, and in some cases all do, so I changed
the spec as you suggest.

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.

-- 
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 Thursday, 20 October 2011 22:15:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:06 UTC