On Fri, 27 Feb 2009 02:49:55 +0100, Robert O'Callahan <robert@ocallahan.org> wrote: > http://dev.w3.org/csswg/cssom-view/#the-rangeview-interface > RangeView::getClientRects on an empty range should not always return an > empty rectangle list. When the empty range is in a Text node, it should > return a rectangle roughly corresponding to where the caret would be if > it was at that point. This would be useful in conjunction with > caretRangeFromPoint, but there are other use cases too, such as > positioning an annotation. For horizontal writing, there would normally be a > zero-width rectangle whose height is determined by the font ascent and descent, > unless the Text node's line box was collapsed away, in which case it could > return no rectangle or a zero-height rectangle. I attempted to fix this: http://dev.w3.org/csswg/cssom-view/#dom-range-getclientrects -- Anne van Kesteren http://annevankesteren.nl/Received on Tuesday, 28 July 2009 08:34:34 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 18:16:17 GMT