Also fix ACE hinting for QtWebKit
This commit is contained in:
parent
16b259a390
commit
48c9a4061b
@ -251,8 +251,10 @@ class WebKitElement(webelem.AbstractWebElement):
|
||||
'opacity': '0',
|
||||
}
|
||||
for k, v in hidden_attributes.items():
|
||||
if self._elem.styleProperty(k, QWebElement.ComputedStyle) == v:
|
||||
if (self._elem.styleProperty(k, QWebElement.ComputedStyle) == v and
|
||||
'ace_text-input' not in self.classes()):
|
||||
return False
|
||||
|
||||
elem_geometry = self._elem.geometry()
|
||||
if not elem_geometry.isValid() and elem_geometry.x() == 0:
|
||||
# Most likely an invisible link
|
||||
|
Loading…
Reference in New Issue
Block a user