diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/WebBrowser/WebBrowserPage.py --- a/src/eric7/WebBrowser/WebBrowserPage.py Thu May 25 11:12:05 2023 +0200 +++ b/src/eric7/WebBrowser/WebBrowserPage.py Thu May 25 19:51:47 2023 +0200 @@ -488,13 +488,13 @@ loop.exec() return resultDict["res"] - def __contentsSizeChanged(self, size): + def __contentsSizeChanged(self, size): # noqa: U100 """ Private slot to work around QWebEnginePage not scrolling to anchors when opened in a background tab. @param size changed contents size (unused) - @type QSize + @type QSizeF """ fragment = self.url().fragment() self.runJavaScript(Scripts.scrollToAnchor(fragment))