Closed
Bug 398700
Opened 18 years ago
Closed 18 years ago
DOM Inspector Insert Node dialog does not have access keys
Categories
(Other Applications :: DOM Inspector, defect)
Other Applications
DOM Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(2 files)
|
6.20 KB,
patch
|
sdwilsh
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
|
6.20 KB,
patch
|
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
DOM Inspector Insert Node dialog completely lacks access keys.
| Assignee | ||
Comment 1•18 years ago
|
||
Simple patch to add the access keys to the Insert Node dialog.
Attachment #283697 -
Flags: superreview?(neil)
Attachment #283697 -
Flags: review?(comrade693+bmo)
Comment 2•18 years ago
|
||
Comment on attachment 283697 [details] [diff] [review]
Add the access keys
>- <label value="&tagName.label;" control="tx_tagName"/>
>+ <label value="&tagName.label;"
>+ accesskey="&tagName.accesskey;"
>+ control="tx_tagName"/>
> <textbox id="tx_tagName" oninput="dialog.toggleAccept()"/>
> </row>
> </rows>
> <row id="row_text" flex="1">
>- <label value="&nodeValue.label;" control="tx_nodeValue"/>
>+ <label value="&nodeValue.label;"
>+ accesskey="&nodeValue.accesskey;"
>+ control="tx_nodeValue"/>
Please be consistent in your indentation - the second example here is correct.
> <!ENTITY nodeType.label "Node Type:">
>+ <!ENTITY nodeType.accesskey "N">
> <!ENTITY nodeType.element.label "Element">
> <!ENTITY nodeType.text.label "Text">
> <!ENTITY namespaceURI.label "Namespace URI:">
>+ <!ENTITY namespaceURI.accesskey "U">
> <!ENTITY tagName.label "Tag Name:">
>+ <!ENTITY tagName.accesskey "T">
> <!ENTITY nodeValue.label "Node Value:">
>+ <!ENTITY nodeValue.accesskey "V">
I'm wondering whether we should swap N and T around, but I'll let Shawn answer!
Attachment #283697 -
Flags: superreview?(neil) → superreview+
Comment 3•18 years ago
|
||
Comment on attachment 283697 [details] [diff] [review]
Add the access keys
(In reply to comment #2)
> I'm wondering whether we should swap N and T around, but I'll let Shawn answer!
Ug, either way works, but I think using N for tagName and T for nodeType is slightly better.
r=sdwilsh with Neil's other comment fixed.
Attachment #283697 -
Flags: review?(comrade693+bmo) → review+
| Assignee | ||
Comment 4•18 years ago
|
||
Fixed Neil's comments in comment 2.
I was not sure if I should go ahead and ask for approval, or ask another review
from Shawn... So I'm taking the safe side. :-)
Attachment #284138 -
Flags: review?(comrade693+bmo)
Updated•18 years ago
|
Attachment #284138 -
Flags: review?(comrade693+bmo) → approval1.9?
Updated•18 years ago
|
Attachment #284138 -
Flags: approval1.9? → approval1.9+
Updated•18 years ago
|
Keywords: checkin-needed
Comment 5•18 years ago
|
||
Checking in extensions/inspector/resources/content/viewers/dom/insertDialog.xul;
/cvsroot/mozilla/extensions/inspector/resources/content/viewers/dom/insertDialog.xul,v <-- insertDialog.xul
new revision: 1.2; previous revision: 1.1
done
Checking in extensions/inspector/resources/locale/en-US/viewers/dom.dtd;
/cvsroot/mozilla/extensions/inspector/resources/locale/en-US/viewers/dom.dtd,v <-- dom.dtd
new revision: 1.13; previous revision: 1.12
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: mozilla1.9 M9 → mozilla1.9 M10
You need to log in
before you can comment on or make changes to this bug.
Description
•