emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 7f81825: Make it possible to TAB to input fields


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 7f81825: Make it possible to TAB to input fields
Date: Thu, 04 Feb 2016 04:42:26 +0000

branch: emacs-25
commit 7f818250739d9b7404dbe79326e1bf89fce0fd13
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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).
---
 lisp/net/eww.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index f8d7c75..7cb324e 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]