Re: [web-annotation] white space normalisation

@tilgovi This the getSelection() API, so even if the rendering is with
 the whitespace collapsed, the selection's characters will include the
 whitespace as recorded in the document, as opposed to what you end up
 with in your clipboard when you copy the selection from the browser?

We can take out the whitespace normalization recommendation. Systems 
wanting to match the content in different representations will need to
 massage the data, but they'll probably need to do that anyway.

(For an experiment, I made a document with the contents <p>a   b      
c  d     e</p>, selected some text, and looked at 
window.getSelection() and compared the extent of the selection ... 
which included the whitespace characters from the textContent)

-- 
GitHub Notification of comment by azaroth42
Please view or discuss this issue at 
https://github.com/w3c/web-annotation/issues/221#issuecomment-221113698
 using your GitHub account

Received on Monday, 23 May 2016 22:22:19 UTC