[Webkit-unassigned] [Bug 90739] changes to value property of textarea not fully reflected in the UI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 10 12:35:40 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90739





--- Comment #2 from austincheney <austin.cheney at us.army.mil>  2012-07-10 12:35:40 PST ---
I have verified it on Chrome 20.0.1132.47.  I have Safari on a different computer, so I will specify Safari version number later.  I downloaded the latest version from Apple two days ago.

More specific steps to reproduce:

1) Go to: http://prettydiff.com/?s=http://prettydiff.com/prettydiff.js&m=minify

2) Wait for the page to fully load.  There is some JavaScript and XHR that this URI will execute in the onload event.

3a) Look into the textarea labeled "Minify output".  Perform CTRL+A (select all) and CTRL+C (copy to clipboard) and then paste the copied text to your favorite editor.  Scroll to the very end of this text and notice how this text ends.

3b) An alternate option is to simply look into the textarea "Minify output" and scroll to the end of the text.  This option will be faster, but is also frustrating.  It is easy to scroll at the way down.  Unfortunately there is a fair amount of horizontal scrolling for text that is not present.  You must scroll to the end of the text and not to the end of the scrollbar.

4) In the browser console perform:
document.getElementById("minifyoutput").value;

5) Scroll the extreme end of the text provided from step 4.

6) Does the text from step 3 match the text from step 5?

I can produce the bug following these steps every time even on different computers.  This error has occurred for me in the past on Windows XP, but the computers I have been testing recently are all Windows7.

These values must be identical because they are values obtained from the same form element.  If the values are different then it suggests the entirety of the text is being updated to the value property of the textarea in the DOM, but not to the textarea element in the UI.

As I mentioned in step 3b I am getting excessive horizontal scrolling that could suggest the horizontal scrollbar is updated to the length of the text as reported from the DOM even if that text is not fully present in the textarea.

I suspect the error could be related to any text flow presentation supplied to the textarea.  To my knowledge there are only two forms of such presentation accepted:

1) The white-space CSS property
2) The wrap HTML attribute

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list