180fb0d65a
With Chromium 61 in Qt 5.10, we get null when getting .selectionStart on a non-text element, like changed in the WhatWG HTML standard: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-textarea/input-selectionstart See https://www.chromestatus.com/feature/5740194741354496 Older QtWebEngines and QtWebKit raise InvalidStateError instead. This also changes the surrounding code and API so None is used to say "there's no caret position available", which seems like a nicer API. |
||
---|---|---|
.. | ||
test_autoupdate.py | ||
test_checkpyver.py | ||
test_cmdhistory.py | ||
test_crashdialog.py | ||
test_earlyinit.py | ||
test_editor.py | ||
test_guiprocess.py | ||
test_ipc.py | ||
test_keyhints.py | ||
test_lineparser.py | ||
test_miscwidgets.py | ||
test_msgbox.py | ||
test_objects.py | ||
test_pastebin.py | ||
test_readline.py | ||
test_sessions.py | ||
test_split_hypothesis.py | ||
test_split.py | ||
test_sql.py | ||
test_utilcmds.py |