4 Aug
2009
4 Aug
'09
10:38 p.m.
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