Chrome was throwing this notice in event/handler/Keyboard.js in the
__getEventTarget method (qx Desktop):
/**
* Get the target element for key events
*
* @return {Element} the event target element
*/
__getEventTarget : function()
{
var focusHandler = this.__manager.getHandler(qx.event.handler.Focus);
var target = focusHandler.getActive();
// Fallback to focused element when active is null or invisible
if (!target || target.offsetWidth == 0) {
target = focusHandler.getFocus();
}
// Fallback to body when focused is null or invisible
if (!target || target.offsetWidth == 0) {
target = this.__manager.getWindow().document.body;
}
return target;
},
On Mon, Mar 21, 2016 at 6:46 AM, Cajus Pollmeier <pollme...@gonicus.de>
wrote:
> It would be better to use the qooxdoo SVG contribution instead of
> injecting SVGs manually. We've an application that makes heavy use of
> SVG and even if you modify this one (i.e. use the proposed bounding box
> object), you will run into various other locations in the code where
> you've to distinguish between SVG and non SVG elements.
>
> Am Montag, den 21.03.2016, 14:38 +0300 schrieb Alexander Kirsanov:
> > I found the issue in the qx.bom.element.Location.
> > The issue happens in the method get, the qooxdoo gets the
> > elem.offsetWidth and elem.offsetHeight, but elem could be an instance
> > of the SVGElement. So, I suppose that the qx should check is it
> > svgelement or not and using the element.getBBox().width instead of
> > elem.offsetWidth in case of SVG. But I’m not sure that it is good
> > solution.
> >
> >
> > > On Mar 21, 2016, at 2:28 PM, Dietrich Streifert <dietrich.streifert
> > > @googlemail.com> wrote:
> > >
> > > And here is the corresponding issue for jQuery:
> > >
> > > https://github.com/jquery/jquery/issues/2895
> > >
> > >
> > >
> > > Am 21.03.2016 um 11:41 schrieb Dietrich Streifert:
> > > > Hi All,
> > > >
> > > > I've run Alexanders playground example and can confirm the issue
> > > > with Chrome 50.0.2661.37 beta-m (64-bit), which is the newest
> > > > beta release.
> > > >
> > > > I'm currently not using any svg images. Maybe someone wo is using
> > > > svg could please identify where the deprecated call el.offset is
> > > > happening?
> > > >
> > > > Regards
> > > > Dietrich
> > > >
> > > > Am 21.03.2016 um 09:58 schrieb Alexander Kirsanov:
> > > > > Hi Tobias.
> > > > > I created the issue about this behavior two weeks ago.
> > > > > You could use the example from this issue http://bugs.qooxdoo.o
> > > > > rg/show_bug.cgi?id=9255
> > > > >
> > > >
> > >
> > > -----------------------------------------------------------------
> > > -------------
> > > Transform Data into Opportunity.
> > > Accelerate data analysis in your applications with
> > > Intel Data Analytics Acceleration Library.
> > > Click to learn more.
> > > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140___
> > > ____________________________________________
> > > qooxdoo-devel mailing list
> > > qooxdoo-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > -------------------------------------------------------------------
> > -----------
> > Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> > _______________________________________________
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
*IRIS/iNWS Technical Lead*
*Decision Support Branch*
*Meteorological Development LabOffice of Science and Technology Integration*
*National** Weather Service, La Crosse, WI*
(608) 406-0537
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel