Re: [webkit-dev] Shadow nodes in webkit

2008-10-24 Thread Nikolas Zimmermann
Am 24.10.2008 um 06:07 schrieb Giri Rao: Thanks Rick. Giri On Thu, Oct 23, 2008 at 6:43 PM, Rick [EMAIL PROTECTED] wrote: This link may be of assistance: http://www.w3.org/TR/2004/WD-sXBL-20040901/ On Thu, Oct 23, 2008 at 9:28 PM, Adele Peterson [EMAIL PROTECTED] wrote: Hi Giri, WebKit

Re: [webkit-dev] Shadow nodes in webkit

2008-10-24 Thread Giri Rao
Thanks Niko Giri On Fri, Oct 24, 2008 at 5:35 AM, Nikolas Zimmermann [EMAIL PROTECTED] wrote: Am 24.10.2008 um 06:07 schrieb Giri Rao: Thanks Rick. Giri On Thu, Oct 23, 2008 at 6:43 PM, Rick [EMAIL PROTECTED] wrote: This link may be of assistance:

Re: [webkit-dev] Shadow nodes in webkit

2008-10-24 Thread Giri Rao
Hi Adele, Here is my html fragment: html body textarea rows=10 cols=30The cat was playing in the garden./textarea /body /html The dom tree consists of: dom node for document -- dom node for html -- dom node for body -- dom node for text area The dom tree stops here and does

Re: [webkit-dev] Shadow nodes in webkit

2008-10-24 Thread Darin Adler
On Oct 24, 2008, at 1:08 PM, Giri Rao wrote: The dom tree stops here and does not give me a #text node for the textarea's text. Is there a way to get the text while traversing the dom tree? The HTMLTextAreaElement has a function named value, which will give you the text. It's very

Re: [webkit-dev] Shadow nodes in webkit

2008-10-24 Thread Giri Rao
On Fri, Oct 24, 2008 at 1:15 PM, Darin Adler [EMAIL PROTECTED] wrote: On Oct 24, 2008, at 1:08 PM, Giri Rao wrote: The dom tree stops here and does not give me a #text node for the textarea's text. Is there a way to get the text while traversing the dom tree? The HTMLTextAreaElement has

Re: [webkit-dev] Shadow nodes in webkit

2008-10-23 Thread Adele Peterson
Hi Giri, WebKit creates shadow nodes for many of the form controls. As you noticed, these nodes are not visible from the DOM, but the renderers for those nodes can be traversed in the render tree. For example, a text field or text area has a shadow DOM that contains all the text inside

Re: [webkit-dev] Shadow nodes in webkit

2008-10-23 Thread Rick
This link may be of assistance: http://www.w3.org/TR/2004/WD-sXBL-20040901/ On Thu, Oct 23, 2008 at 9:28 PM, Adele Peterson [EMAIL PROTECTED] wrote: Hi Giri, WebKit creates shadow nodes for many of the form controls. As you noticed, these nodes are not visible from the DOM, but the renderers

Re: [webkit-dev] Shadow nodes in webkit

2008-10-23 Thread Giri Rao
Thanks Adele, this is helpful. Giri On Thu, Oct 23, 2008 at 6:28 PM, Adele Peterson [EMAIL PROTECTED] wrote: Hi Giri, WebKit creates shadow nodes for many of the form controls. As you noticed, these nodes are not visible from the DOM, but the renderers for those nodes can be traversed in