[cssom-view]

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.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Friday, 27 February 2009 01:50:33 UTC