Merge branch 'master' of ssh://lupin/qutebrowser
This commit is contained in:
commit
d2b7530c0a
@ -368,7 +368,7 @@ class IsEditableTests(unittest.TestCase):
|
||||
def test_select(self):
|
||||
"""Test selectbox."""
|
||||
elem = FakeWebElement(tagname='select')
|
||||
self.assertTrue(webelem.is_editable(elem))
|
||||
self.assertFalse(webelem.is_editable(elem))
|
||||
|
||||
def test_input_disabled(self):
|
||||
"""Test disabled input element."""
|
||||
|
@ -258,7 +258,7 @@ def is_editable(elem, strict=False):
|
||||
return True
|
||||
elif tag == 'input':
|
||||
return _is_editable_input(elem)
|
||||
elif tag in ('textarea', 'select'):
|
||||
elif tag == 'textarea':
|
||||
return is_writable(elem)
|
||||
elif tag in ('embed', 'applet'):
|
||||
# Flash/Java/...
|
||||
|
Loading…
Reference in New Issue
Block a user