From 2828e499d4f0f09ad05e053b6b148f1ede1f1fc6 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 19 Sep 2011 12:54:49 -0400 Subject: [PATCH] Fix :h 'hinttags' default value. --- common/content/hints.js | 2 +- common/locale/en-US/options.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/content/hints.js b/common/content/hints.js index 4bd50348..d4774167 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -1281,7 +1281,7 @@ var Hints = Module("hints", { options.add(["hinttags", "ht"], "XPath or CSS selector strings of hintable elements for Hints mode", - "stringlist", "input:not([type=hidden]),a[href],area,iframe,textarea,button,select," + + "stringlist", "a[href],area,button,iframe,input:not([type=hidden]),select,textarea," + "[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand]," + "[tabindex],[role=link],[role=button],[contenteditable=true]", { diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index d7dadf5a..36d10ad7 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -892,9 +892,9 @@ 'hinttags' 'ht' &option.hinttags.type; - a,area,button,iframe,input:not([type=hidden]),select,textarea, + a[href],area,button,iframe,input:not([type=hidden]),select,textarea, [onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand], - [tabindex],[role=link],[role=button] + [tabindex],[role=link],[role=button],[contenteditable=true]

A list of CSS selectors or XPath expressions used to select elements