cloudbearings / ez-access-web

Automatically exported from code.google.com/p/ez-access-web
0 stars 0 forks source link

v0.10 Reminder: Slide-to-read #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have been trying out the latest version from the Chrome store and wanted to 
write up several observations of issues. I know that you are working on all of 
this, but wanted to make sure that these issues didn't fall through the cracks.

Slide-to-read does not currently work. This may have some issues with the new 
algorithm. In particular, there is no list of all highlight-able elements. 
Perhaps you still need to build a list for Slide-to-read? Also, text node + 
inline orphans don't have easy handles like the span wrappers.

We should probably also make text unselectable--at least when Slide-to-read is 
on. There is a discussion here: 
http://stackoverflow.com/questions/2310734/how-to-make-html-text-unselectable
and here: https://developer.mozilla.org/en-US/docs/Web/CSS/user-select

Original issue reported on code.google.com by jbjor...@gmail.com on 17 Jul 2013 at 3:32

GoogleCodeExporter commented 9 years ago
Slidetoread is added in latest version, and will be released to store soon.

The slidetoread algorithm does not use a list of nodes, but instead gets the 
touched x & y abs positions, and asks the document what element is there. It 
then checks intelligently to see if it is selecteable (not a parent of 
finer-grain elements).

I will not be supporting slidetoread on orphan nodes. It is near impossible, 
and impossible if we're not allowing persistent span wrapping on the page.

Original comment by aeharding on 22 Jul 2013 at 1:08