darin at apple.com
Tue Mar 2 15:05:49 PST 2010
This mailing list is for discussion of the development of WebKit, not help using WebKit. Please see <http://webkit.org/contact.html>. Your question is more appropriate for webkit-help.
On Mar 1, 2010, at 5:45 PM, baizhenxuan wrote:
> in firefox, mouseEvent has property rangeParent and rangeOffset that help me to get the word under the mouse
> why webkit doesn't provide these apis?
As far as I know, these properties are Firefox-specific, not mentioned in any standard. WebKit doesn’t have all the same extensions to the DOM API that Firefox does. These seem like they might be reasonable things to add. You could file a bug requesting them or even work on the implementation yourself. The documentation at <http://webkit.org/quality/reporting.html> tells how to write a bug report.
Folks on webkit-help might be able to help you find a workaround. WebKit does have at least some APIs that might be useful to you in this situation.
More information about the webkit-dev