[webkit-dev] scroll areas of textarea's

2009-08-04 Thread Chris Fleizach
How do the scroll areas that encompass text areas fit into the render  
tree?


I need to turn that scroll area into an accessible object, but when I  
look at the render tree i don't see anything that would indicate there  
is a renderer associated with the scroll area.


thanx
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] scroll areas of textarea's

2009-08-04 Thread Darin Adler

On Aug 4, 2009, at 2:57 PM, Chris Fleizach wrote:

How do the scroll areas that encompass text areas fit into the  
render tree?


I need to turn that scroll area into an accessible object, but when  
I look at the render tree i don't see anything that would indicate  
there is a renderer associated with the scroll area.


The class that handles this is RenderTextControlMultiLine, which is  
derived from RenderTextControl, then from RenderBlock. Like any other  
block, if the CSS overflow is set appropriately there can be scroll  
bars. You should see a RenderTextControlMultiLine in the render tree,  
with functions like scrollsOverflowX() and scrollsOverflowY()  
indicating the presence of scroll bars.


-- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev