W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] Common number formats

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 25 Apr 2006 14:27:56 +0300
Message-ID: <5E29E43A-1499-4312-8F9F-9E4A1B55EB04@iki.fi>
(Again, from the document conformance point of view:)

I assume number formats in attributes consistently do not allow  
whitespace before and after. Am I right?

I assume that an explicit + sign is always forbidden. Correct?

Is the - sign forbidden in front of zero? (Would be logical  
considering that the explicit plus is forbidden.)

Most definitions of integers allow leading zeros but the width and  
height for canvas don't. Is this intentional?

I guess floats allow leading zeros as well. Correct?

Do percentages allow leading zeros? (Leading zeros are harmless in  
Firefox, Opera and Safari, at least.)

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 25 April 2006 04:27:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC