1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00

Make it possible to TAB to input fields

* lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
input fields (bug#22540).
This commit is contained in:
Lars Ingebrigtsen 2016-02-04 15:42:08 +11:00
parent a43a1dcc3d
commit 7f81825073

View File

@ -1136,7 +1136,9 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(t
(eww-form-text dom)))
(unless (= start (point))
(put-text-property start (1+ start) 'help-echo "Input field"))))
(put-text-property start (1+ start) 'help-echo "Input field")
;; Mark this as an element we can TAB to.
(put-text-property start (1+ start) 'shr-url dom))))
(defun eww-tag-select (dom)
(shr-ensure-paragraph)