Re: [cssom-view] small update

* Robert O'Callahan wrote:
>On Fri, Mar 7, 2008 at 7:58 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
>
>> Why is the TextRectangle called thusly? Wouldn't, say, ClientRectangle
>> be a better name?
>
>Because that's what IE calls it. ClientRectangle would be better, but would
>it be better enough to bother changing to it?

As far as I can tell, the name occurs only in the documentation. The
interfaces are actually called IHTMLRect and IHTMLRectCollection if
you use the API from, say, C++, and Internet Explorer generally does
not expose either interface name in JavaScript in an important way,
so I don't think the existing naming matters. As I understand it, the
interface is used in several places that do not deal with text at all,
so I find this name rather confusing.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 7 March 2008 22:35:39 UTC