From 3b0354518bc60205dc275757c36b78738bb66c29 Mon Sep 17 00:00:00 2001 From: Liam BEGUIN Date: Sun, 15 May 2016 22:46:12 -0400 Subject: [PATCH] Added basic inputs-group to :hint --- qutebrowser/browser/webelem.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/browser/webelem.py b/qutebrowser/browser/webelem.py index e47a67235..39f4776d6 100644 --- a/qutebrowser/browser/webelem.py +++ b/qutebrowser/browser/webelem.py @@ -38,7 +38,7 @@ from qutebrowser.utils import log, usertypes, utils Group = usertypes.enum('Group', ['all', 'links', 'images', 'url', 'prevnext', - 'focus']) + 'focus', 'inputs']) SELECTORS = { @@ -50,6 +50,7 @@ SELECTORS = { Group.url: '[src], [href]', Group.prevnext: 'a, area, button, link, [role=button]', Group.focus: '*:focus', + Group.inputs: 'input[type=text], input[type=password], textarea', }