From aba15563249e27897c1b1680242ca8e86975ff98 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 17 Aug 2016 16:12:09 +0200 Subject: [PATCH] Remove old comment --- qutebrowser/browser/webengine/webengineelem.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qutebrowser/browser/webengine/webengineelem.py b/qutebrowser/browser/webengine/webengineelem.py index 0e586ce10..44eacdc71 100644 --- a/qutebrowser/browser/webengine/webengineelem.py +++ b/qutebrowser/browser/webengine/webengineelem.py @@ -123,11 +123,6 @@ class WebEngineElement(webelem.AbstractWebElement): def rect_on_view(self, *, elem_geometry=None, no_js=False): """Get the geometry of the element relative to the webview. - Uses the getClientRects() JavaScript method to obtain the collection of - rectangles containing the element and returns the first rectangle which - is large enough (larger than 1px times 1px). If all rectangles returned - by getClientRects() are too small, falls back to elem.rect_on_view(). - Skipping of small rectangles is due to elements containing other elements with "display:block" style, see https://github.com/The-Compiler/qutebrowser/issues/1298