[webkit-gtk] Root (accessible) element in WebKitGtk+

Mario Sanchez Prada msanchez at igalia.com
Tue May 4 01:40:23 PDT 2010

On Tue, 2010-05-04 at 00:56 -0500, Diego Escalante Urrelo wrote:
> El jue, 29-04-2010 a las 11:10 +0200, Mario Sanchez Prada escribió:
> > 
> > However, as I can extract from the (a11y) tests, the root element should
> > return instead the a11y object associated to the root of the document
> > being rendered, which seems to be the <body> element, as far as I can
> > understand from other similar tests.
> > 
> Perhaps you already saw the tests in WebKit/gtk/tests/. Take
> testatkroles.c for example (simplified):
> doc = gtk_widget_get_accessible(fixture->webView);
> // This is an extraneous object of ATK_ROLE_PANEL which we should get
> rid of.
> obj = atk_object_ref_accessible_child(doc, 0);
> g_assert(obj);
> child = atk_object_ref_accessible_child(obj, 0);
> // Check child's role and etc
> I have the impression this "extraneous object" is the one you have found
> and are trying to remove.

Not sure it's the same thing, but I'll take a look anyway. Thanks for
pointing that out!

> The comment comes originally from Joanmarie, she probably can confirm
> that the object is indeed the same and whether it's useless or not.

Yes, I do really think I'd need to talk to Joanmarie asap because
yesterday API (Alejandro Piñeiro) and me found some interesting bugs in
bugzilla that could have something to do with this strange stuff... and
looking the comments it seems Joanmarie is the right person to talk to:


> Hope this is related and not just a noisy email ;).

Very helpful indeed.


More information about the webkit-gtk mailing list