Re: [cssom-view] Proposal to add getClientRect method to CaretPosition

Hi Simon:

Thus Spoke Simon Pieters:
> Done. https://dvcs.w3.org/hg/csswg/rev/20a1acb17302
>
Thank you!

> I made it able to return null.
>
This sounds good.
> Did you intend to continue on the last sentence above?
>
Hm, no I don't think so. I went through a couple of drafts of this, so I
think perhaps that was just left over from a previous draft. ;)
>
> I think some interesting things to test are when the DOM changes, when
> the text entry widget stops being a text entry widget, or the
> range/element is taken out of the document.
>
I'll look into writing some w3c compatible tests for this. We have
reftests here at Mozilla, and converting them into w3c-compatible tests
shouldn't be too difficult.

~Scott

Received on Monday, 22 April 2013 14:43:21 UTC