Bug 543315 - Remove obsolete use of buttonover and buttondown attributes. r=rflint

This commit is contained in:
Dão Gottwald 2010-02-02 08:48:16 +01:00
parent 1c2ef7b0c5
commit abdf261daa
4 changed files with 10 additions and 18 deletions

View File

@ -399,7 +399,6 @@ menubutton:not([disabled="true"]):hover:active {
-moz-image-region: rect(23px, 36px, 46px, 0px);
}
#back-button:hover:active:not([disabled]),
#back-button[buttondown="true"]:not([disabled]),
#back-button[open="true"] {
-moz-image-region: rect(46px, 36px, 69px, 0px);
}
@ -414,7 +413,6 @@ menubutton:not([disabled="true"]):hover:active {
-moz-image-region: rect(23px, 72px, 46px, 36px);
}
#forward-button:hover:active:not([disabled]),
#forward-button[buttondown="true"]:not([disabled]),
#forward-button[open="true"] {
-moz-image-region: rect(46px, 72px, 69px, 36px);
}

View File

@ -73,8 +73,7 @@ toolbarbutton.tabbable {
-moz-user-focus: normal !important;
}
toolbarbutton:hover,
toolbarbutton[buttonover="true"] {
toolbarbutton:hover {
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
color: -moz-buttonhovertext;
}

View File

@ -92,44 +92,40 @@
/* Style the back dropmark */
#help-back-button .toolbarbutton-menubutton-dropmarker {
#help-back-button > .toolbarbutton-menubutton-dropmarker {
margin-top: 3px;
list-style-image: url("chrome://global/skin/toolbar/dropmark-nav.png");
-moz-image-region: rect(0px, 14px, 24px, 0px);
}
#help-back-button:hover .toolbarbutton-menubutton-dropmarker,
#help-back-button[buttonover="true"] > .toolbarbutton-menubutton-dropmarker {
#help-back-button:hover > .toolbarbutton-menubutton-dropmarker {
-moz-image-region: rect(24px, 14px, 48px, 0px);
}
#help-back-button[disabled="true"] .toolbarbutton-menubutton-dropmarker {
#help-back-button[disabled="true"] > .toolbarbutton-menubutton-dropmarker {
list-style-image: url("chrome://global/skin/toolbar/dropmark-nav.png") !important;
-moz-image-region: rect(48px, 14px, 72px, 0px) !important;
}
#help-back-button:hover:active .toolbarbutton-menubutton-dropmarker,
#help-back-button[buttondown="true"] > .toolbarbutton-menubutton-dropmarker {
#help-back-button:hover:active > .toolbarbutton-menubutton-dropmarker {
-moz-image-region: rect(72px, 14px, 96px, 0px);
}
/* Style the forward dropmark */
#help-forward-button .toolbarbutton-menubutton-dropmarker {
#help-forward-button > .toolbarbutton-menubutton-dropmarker {
margin-top: 3px;
list-style-image: url("chrome://global/skin/toolbar/dropmark-nav.png");
-moz-image-region: rect(0px, 14px, 24px, 0px);
}
#help-forward-button:hover .toolbarbutton-menubutton-dropmarker,
#help-forward-button[buttonover="true"] > .toolbarbutton-menubutton-dropmarker {
#help-forward-button:hover > .toolbarbutton-menubutton-dropmarker {
-moz-image-region: rect(24px, 14px, 48px, 0px);
}
#help-forward-button[disabled="true"] .toolbarbutton-menubutton-dropmarker {
#help-forward-button[disabled="true"] > .toolbarbutton-menubutton-dropmarker {
list-style-image: url("chrome://global/skin/toolbar/dropmark-nav.png") !important;
-moz-image-region: rect(48px, 14px, 72px, 0px) !important;
}
#help-forward-button:hover:active .toolbarbutton-menubutton-dropmarker,
#help-forward-button[buttondown="true"] > .toolbarbutton-menubutton-dropmarker {
#help-forward-button:hover:active > .toolbarbutton-menubutton-dropmarker {
-moz-image-region: rect(72px, 14px, 96px, 0px);
}

View File

@ -78,8 +78,7 @@ toolbarbutton:focus
outline-offset: -2px;
}
toolbarbutton:hover:not([disabled="true"]),
toolbarbutton[buttonover="true"] {
toolbarbutton:hover:not([disabled="true"]) {
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
}