Merge branch 'master' of ssh://lupin/qutebrowser

This commit is contained in:
Florian Bruhin 2014-08-25 07:01:33 +02:00
commit d2b7530c0a
2 changed files with 2 additions and 2 deletions

View File

@ -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."""

View File

@ -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/...