mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 616641 - Start/end caps of the download-progress binding broken on Windows/OSX with undetermined mode. r=dtownsend, a=blocking-final
This commit is contained in:
parent
81ac2ab66c
commit
2161882ac2
@ -75,7 +75,7 @@ xhtml|link {
|
||||
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#rating");
|
||||
}
|
||||
|
||||
.download-progress {
|
||||
.download-progress, .download-progress[mode="undetermined"] {
|
||||
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#download-progress");
|
||||
}
|
||||
|
||||
|
@ -218,10 +218,11 @@
|
||||
<setter><![CDATA[
|
||||
if (val == -1) {
|
||||
this._progress.mode = "undetermined";
|
||||
return;
|
||||
} else {
|
||||
this._progress.mode = "determined";
|
||||
this._progress.max = val;
|
||||
}
|
||||
this._progress.mode = "determined";
|
||||
this._progress.max = val;
|
||||
this.setAttribute("mode", this._progress.mode);
|
||||
]]></setter>
|
||||
</property>
|
||||
|
||||
|
@ -837,10 +837,21 @@
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
.download-progress[mode="undetermined"] .progress {
|
||||
-moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
|
||||
}
|
||||
|
||||
.download-progress[mode="undetermined"] {
|
||||
border-color: #2E773A;
|
||||
}
|
||||
|
||||
.download-progress[mode="undetermined"] .status-container {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.download-progress .start-cap,
|
||||
.download-progress[complete] .end-cap,
|
||||
.download-progress[mode="undetermined"] .end-cap,
|
||||
.download-progress .progress .progress-bar {
|
||||
-moz-appearance: none;
|
||||
background-image: -moz-linear-gradient(#6AC47E, #4FAC6A);
|
||||
@ -862,6 +873,7 @@
|
||||
.download-progress .progress .progress-bar {
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
min-height: 21px;
|
||||
}
|
||||
|
||||
.download-progress .progress {
|
||||
|
@ -910,10 +910,17 @@
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
.download-progress[mode="undetermined"] {
|
||||
border-color: #358942 #317F3D #2E773A;
|
||||
}
|
||||
|
||||
.download-progress[mode="undetermined"] .status-container {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.download-progress .start-cap,
|
||||
.download-progress[complete] .end-cap,
|
||||
.download-progress[mode="undetermined"] .end-cap,
|
||||
.download-progress .progress .progress-bar {
|
||||
-moz-appearance: none;
|
||||
background-image: -moz-linear-gradient(#71CA83, #54B06C 49%, #43A05D 51%, #60BB76);
|
||||
@ -936,6 +943,7 @@
|
||||
.download-progress .progress .progress-bar {
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
min-height: 21px;
|
||||
}
|
||||
|
||||
.download-progress .progress {
|
||||
|
Loading…
Reference in New Issue
Block a user