Re: getClientRects result in IE versus Mozilla

"[email protected]" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <[email protected]>
On Aug 24, 5:13 am, Martin Honnen <[email protected]> wrote:
> Test case is here:http://home.arcor.de/martin.honnen/javascript/2008/08/test2008082301....
>
> For IE 6 the output is
>
> 'P' element has 3 line(s).
>
> 'P' element has 4 line(s).
>
> 'UL' element has 3 line(s).

That's interesting. I had no idea IE behaved like that.

We follow this spec:
http://www.w3.org/TR/cssom-view/

Basically we return one rect per CSS box created for the element. Your
block elements only have one CSS box each.

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.