Bug 121114. Make links in properties windows keyboard accessible. r=bzbarsky, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@118908 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f8c0c26eb3
commit
39b21312e8
@ -44,6 +44,12 @@
|
||||
text-decoration : underline;
|
||||
}
|
||||
|
||||
.text-link:focus
|
||||
{
|
||||
color : red;
|
||||
-moz-outline: 1px dotted invert;
|
||||
}
|
||||
|
||||
.text-link:hover
|
||||
{
|
||||
cursor : pointer;
|
||||
|
||||
@ -49,6 +49,11 @@
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.text-link:focus {
|
||||
color: red;
|
||||
-moz-outline: 1px dotted invert;
|
||||
}
|
||||
|
||||
.text-link:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@ -47,5 +47,13 @@
|
||||
"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="text-link" extends="chrome://global/content/bindings/text.xml#text-label">
|
||||
<handlers>
|
||||
<handler event="keypress" keycode="VK_ENTER" action="this.click()" />
|
||||
<handler event="keypress" keycode="VK_RETURN" action="this.click()" />
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
||||
|
||||
|
||||
@ -584,6 +584,11 @@ label {
|
||||
-moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
|
||||
}
|
||||
|
||||
label.text-link {
|
||||
-moz-binding: url("chrome://global/content/bindings/text.xml#text-link");
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
label[control] {
|
||||
-moz-binding: url("chrome://global/content/bindings/text.xml#label-control");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user