You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem? 1. view screencast: http://screencast.com/t/tSFbyiqbOGRt 2. Jeff Atwood's blog (as an example): http://www.codinghorror.com/blog/2013/03/why-ruby.html 3. Select a portion of the document that spans the first image and attempt to find the selected text.
4. Javascript:
var range = rangy.createRange(); range.selectNodeContents(document.body);
range.findText(rangy.getSelection().text()); What is the expected output? What do you see instead? I expect .text() and .findText() to work off the same system (maybe an unfair assumption?). What version of the product are you using? On what operating system? rangy v1.3alpha.772
Windows Vista SP2; Chrome latest Please provide any additional information below. I additionally tried removing all stylesheets from the page -- no difference. I've seen similar with other HTML pages as well, but I haven't found a common thread. Another example of a failed find() is selecting from above the initial blockquote into it (ex: "Discourse was: Why didn't you "). However, selecting from within the blockquote and out is fine.
From ben.get...@gmail.com on September 23, 2013 04:54:10
What steps will reproduce the problem? 1. view screencast: http://screencast.com/t/tSFbyiqbOGRt 2. Jeff Atwood's blog (as an example): http://www.codinghorror.com/blog/2013/03/why-ruby.html 3. Select a portion of the document that spans the first image and attempt to find the selected text.
4. Javascript:
var range = rangy.createRange(); range.selectNodeContents(document.body);
range.findText(rangy.getSelection().text()); What is the expected output? What do you see instead? I expect .text() and .findText() to work off the same system (maybe an unfair assumption?). What version of the product are you using? On what operating system? rangy v1.3alpha.772
Windows Vista SP2; Chrome latest Please provide any additional information below. I additionally tried removing all stylesheets from the page -- no difference. I've seen similar with other HTML pages as well, but I haven't found a common thread. Another example of a failed find() is selecting from above the initial blockquote into it (ex: "Discourse was: Why didn't you "). However, selecting from within the blockquote and out is fine.
Original issue: http://code.google.com/p/rangy/issues/detail?id=184
The text was updated successfully, but these errors were encountered: