- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 12 Oct 2009 10:08:39 +0200
- To: "Xiaomei Ji" <xji@chromium.org>, Olli@pettay.fi
- Cc: public-webapps@w3.org, sam@webkit.org, webkit-dev@lists.webkit.org
On Fri, 09 Oct 2009 19:04:52 +0200, Xiaomei Ji <xji@chromium.org> wrote: > Maybe I should propose Document.wordFromPoint() which directly returns > the word under the mouse (and handles both the DOM node and non-DOM form > control nodes). > It hides the information about the node and should be a useful API. Don't you need at least some context information as well besides just the word? Although I suppose you can get that using a combination of elementFromPoint and wordFromPoint... -- Anne van Kesteren http://annevankesteren.nl/
Received on Monday, 12 October 2009 08:09:45 UTC