diff options
| author | Lars Ingebrigtsen | 2016-02-04 15:42:08 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-04 15:42:08 +1100 |
| commit | 7f818250739d9b7404dbe79326e1bf89fce0fd13 (patch) | |
| tree | 77bed00636120309a9d6ab7ebce44351906dc2ca | |
| parent | a43a1dcc3d4a2e1eeecac43017a21779fb1557b3 (diff) | |
| download | emacs-7f818250739d9b7404dbe79326e1bf89fce0fd13.tar.gz emacs-7f818250739d9b7404dbe79326e1bf89fce0fd13.zip | |
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).
| -rw-r--r-- | 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 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'.") | |||
| 1136 | (t | 1136 | (t |
| 1137 | (eww-form-text dom))) | 1137 | (eww-form-text dom))) |
| 1138 | (unless (= start (point)) | 1138 | (unless (= start (point)) |
| 1139 | (put-text-property start (1+ start) 'help-echo "Input field")))) | 1139 | (put-text-property start (1+ start) 'help-echo "Input field") |
| 1140 | ;; Mark this as an element we can TAB to. | ||
| 1141 | (put-text-property start (1+ start) 'shr-url dom)))) | ||
| 1140 | 1142 | ||
| 1141 | (defun eww-tag-select (dom) | 1143 | (defun eww-tag-select (dom) |
| 1142 | (shr-ensure-paragraph) | 1144 | (shr-ensure-paragraph) |