Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 9236 by thedwilliams: When Javascript updates text nodes, the  
changes are not always rendered in the page immediately
http://code.google.com/p/chromium/issues/detail?id=9236

Chrome Version       : 2.0.169.1 (all previous versions also)
URLs (if applicable) :  
http://www.bizzbug.com/spaces/VisionXEditorDevelopment/pages?id=1725
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4: OK
   Firefox 3.x: OK
          IE 7: OK
          IE 8: OK

What steps will reproduce the problem?
1. Visit the page at the provided URL
2. Click on some paragraph text to create a cursor (this is functionality
is pure Javascript/Dom, not the editing stuff built-in to the browser)
3. Type some characters and they should appear no problem. But now click at
the beginning of a line and type..
4. Although your new characters are being appended to the text node that is
the previousSibling of the cursor DIV object, they are not being rendered
on the page as they should
5. Click away, destroying the cursor DIV thus changing the node sibling
relationships, and the text appears

What is the expected result?
When characters are appended to a text node at such a point where it
visually breaks on the screen, those appended characters should appear

What happens instead?
The appended characters do not appear until the text nodes nextSibling is
removed, which somehow causes the code to refresh the rendering

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


Attachments:
        Example page where problem occurs.jpg  133 KB

--
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

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to