Issue 2874: Getting caret immediately after setting it sometimes returns  
wrong result
http://code.google.com/p/chromium/issues/detail?id=2874

New issue report by larster:
Product Version      : 0.2.153.1 (Official Build 2519)
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: FAIL
     Firefox 3: OK
          IE 7: FAIL

What steps will reproduce the problem?
1. Load the attached html file. Onload, it traverses all node, offset pairs
in a simple DOM tree inside a div with contentEditable=true. For each pair,
the file sets the caret to node, offset and then immediately gets the
caret. It outputs a red error line for each pair where getting the caret
fails to return the node, offset pair used in the previous set caret
operation. It outputs a green "Pass!" if it find no such errors.

What is the expected result?

A green 'Pass!'

What happens instead?

A bunch of red error lines.

Please provide any additional information below. Attach a screenshot if
possible.

You can change the test DOM by adding to the <div id="edit"> element in the
body.

Attachments:
        caret-set-get.html  3.2 KB


Issue attributes:
        Status: Unconfirmed
        Owner: [EMAIL PROTECTED]
        Labels: Type-Bug Pri-2 OS-All Area-Unknown

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to