Re: [web-annotation] Text Position Selector in the DOM

@azaroth42 completely agree about leaving the current link and text 
alone. Just wanted to add a note for the (dominate, afiak) scenario of
 folks building browser-based annotators.

How's this for proposed note text/links:
> When generating the Text Position Selector values, it is recommended
 that implementations built for an environment that supports DOM Level
 3 APIs use the `textContent` property of top level, user visible Node
 object 
[[DOM-Level-3-Core](http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#Node3-textContent)]
 of the resource.
>
> This content would be located at `document.body.textContent` in an 
HTML5 document being accessed via a JavaScript DOM implementation.

...not sure I'm quite satisfied with that...your expert opinion would 
be welcome, @azaroth42. :smile_cat: 

-- 
GitHub Notif of comment by BigBlueHat
See 
https://github.com/w3c/web-annotation/issues/59#issuecomment-126707502

Received on Friday, 31 July 2015 14:22:16 UTC