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:
parent
1115d02b37
commit
878c0f93c1
@ -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 = {"
|
||||
|
Loading…
Reference in New Issue
Block a user