1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

WebHitTestResult: Fix isContentEditable for readonly inputs

This commit is contained in:
David Rosca 2015-09-30 13:38:57 +02:00
parent 1115d02b37
commit 878c0f93c1

View File

@ -35,7 +35,7 @@ WebHitTestResult::WebHitTestResult(const WebPage *page, const QPoint &pos)
" if (e.isContentEditable)"
" return true;"
" if (e.tagName == 'INPUT' || e.tagName == 'TEXTAREA')"
" return !e.readonly;"
" return e.getAttribute('readonly') != 'readonly';"
" return false;"
"}"
"var res = {"