From: Lars Ingebrigtsen Date: Thu, 4 Feb 2016 04:42:08 +0000 (+1100) Subject: Make it possible to TAB to input fields X-Git-Tag: emacs-25.0.91~98 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f818250739d9b7404dbe79326e1bf89fce0fd13;p=emacs.git 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). --- diff --git a/lisp/net/eww.el b/lisp/net/eww.el index f8d7c75aa2b..7cb324e2399 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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)