On 07/19/2012 02:51 AM, Ed Bras wrote: > I ust run some tests and noticed the following in Chrome (in FF 12 they > all return true):
Well, that's annoying... > 1) Document.get().isOrHasChild(element) -> false > 2) Document.get().getDocumentElement().isOrHasChild(element) -> true > 3) Document.get().getBody().isOrHasChild(element) -> true > 4) widget.isAttache() -> true > > Appearantly there is a difference between being attached to the Document > node and Body node. > Why? > What to do next to isolate/solve this? What problem is it you're trying to solve? That's going to dictate the solution. > Note: the above statements are called in a DeferedCommand just after the > widget is added to the RootPanel. It concers an widget that is shown as > a popup panel (absolute positioned) Maybe a clickHandler(), but again, what problem is it you're trying to solve? Cheers, jec -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
