[webkit-dev] scroll areas of <textarea>'s

Darin Adler darin at apple.com
Tue Aug 4 15:38:55 PDT 2009

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

More information about the webkit-dev mailing list