getNumberOfChars(), 16-bit units, and Acid3

Hi,

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  
getNumberOfChars().

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
<http://annevankesteren.nl/>
<http://www.opera.com/>

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