warning gtBoxObjectFor() deprecated

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

warning gtBoxObjectFor() deprecated

dr.cw.ray
I'm sure this is probably a known problem, but I noticed in my error
console that the following message started popping up on many of my
applications. I couldn't narrow down what the problem might be (my
apps are huge), but I was recently building a smaller app that is
triggering this warning.  In that app, I only use a select with
itemset, and a repeat with a nested input.  I also use an insert but
the error triggers at load time so I don't think it's that. I also
have a switch/case but I don't think that would tirgger the warning
either.

I'm sure someone's on top of this, but I sure wouldn't want this
deprecation to throw a wrench in later versions of xforms.  If anyone
needs more info, I can send my file, as it's not very large.

Warning: Use of getBoxObjectFor() is deprecated. Try to use
element.getBoundingClientRect() if possible.
Source File: http://localhost/Xforum/xfBBeditor/componentMgr.xhtml
Line: 0

best regards
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms
Reply | Threaded
Open this post in threaded view
|

Re: warning gtBoxObjectFor() deprecated

Dion Sole
dr.cw.ray wrote:

> I'm sure this is probably a known problem, but I noticed in my error
> console that the following message started popping up on many of my
> applications. I couldn't narrow down what the problem might be (my
> apps are huge), but I was recently building a smaller app that is
> triggering this warning.  In that app, I only use a select with
> itemset, and a repeat with a nested input.  I also use an insert but
> the error triggers at load time so I don't think it's that. I also
> have a switch/case but I don't think that would tirgger the warning
> either.
>
> I'm sure someone's on top of this, but I sure wouldn't want this
> deprecation to throw a wrench in later versions of xforms.  If anyone
> needs more info, I can send my file, as it's not very large.
>
> Warning: Use of getBoxObjectFor() is deprecated. Try to use
> element.getBoundingClientRect() if possible.
> Source File: http://localhost/Xforum/xfBBeditor/componentMgr.xhtml
> Line: 0
>
> best regards
See https://bugzilla.mozilla.org/show_bug.cgi?id=502323. It's one of the things
that'll need to be fixed for the 3.5 version.

_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms