W3C home > Mailing lists > Public > www-svg@w3.org > February 2008

getNumberOfChars(), 16-bit units, and Acid3

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 13 Feb 2008 13:21:42 +0100
To: www-svg@w3.org, "Ian Hickson" <ian@hixie.ch>
Message-ID: <op.t6gpygw764w2qv@annevk-t60.oslo.opera.com>


Hereby a request to change both SVG 1.1 and Acid3. I'd like SVG 1.1 to  
change to say that the method getNumberOfChars() is based on 16-bit units  
and that Acid3 drops the following test:

   if (numberOfChars == expectedAdvances.length + 1)

The rationale for this is that the DOM is based on 16-bit units  
throughout. DOMString, DOM Level 2 Traversal and Range, etc. In additiona,  
ECMAScript is based on 16-bit units too. While I understand that this is  
an unfortunate legacy I don't think SVG is to place to be different from  
all other APIs in existence. I'd like the APIs for developers to be as  
consistent as possible and if that requires 16-bit units because of  
unfortunate legacy so be it.

http://www.w3.org/TR/SVG11/text.html#DOMInterfaces defines  

Also, I might have missed similar tests part of test 69 of Acid3. These  
would likewise have to be changed.

Kind regards,

Anne van Kesteren
Received on Wednesday, 13 February 2008 12:17:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:13 UTC