Bug 7675

Summary: When new text fields change from visibility:hidden to visibility:visible, value doesn't display
Product: WebKit Reporter: Adele Peterson <adele>
Component: FormsAssignee: Adele Peterson <adele>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 6986, 7676    
Attachments:
Description Flags
test case
none
patch
justin.garcia: review-
new patch adele: review+

Description Adele Peterson 2006-03-08 22:15:30 PST
See test case.
Comment 1 Adele Peterson 2006-03-08 22:17:07 PST
Created attachment 6949 [details]
test case

this test starts with a new text field with visibility:hidden and a value of "Test Passed".  In the onload handler, the test field becomes visible, but the value doesn't show up.
Comment 2 Adele Peterson 2006-03-09 14:10:50 PST
Created attachment 6965 [details]
patch
Comment 3 Justin Garcia 2006-03-09 14:53:37 PST
Comment on attachment 6965 [details]
patch

The shadowdiv may have a depth > 1, use traverseNextNode instead of nextSibling
Comment 4 Adele Peterson 2006-03-09 15:14:47 PST
Created attachment 6966 [details]
new patch

Good call, Justin.  This patch uses traverseNextNode.
Comment 5 Adele Peterson 2006-03-09 15:21:57 PST
Comment on attachment 6966 [details]
new patch

Hyatt reviewed this.