W3C home > Mailing lists > Public > public-annotation@w3.org > July 2015

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

From: BigBlueHat via GitHub <sysbot+gh@w3.org>
Date: Fri, 31 Jul 2015 14:22:14 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-126707502-1438352534-sysbot+gh@w3.org>
@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
 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
Received on Friday, 31 July 2015 14:22:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:38 UTC