Re: getClientRects result in IE versus Mozilla
| 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