Bug 912817 - Add a separate class for mixed display with active content blocked.

This commit is contained in:
Tanvi Vyas 2013-09-09 15:48:01 -07:00
Родитель 9a803ae47a
Коммит dcf3f38779
3 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -6368,7 +6368,7 @@ var gIdentityHandler = {
IDENTITY_MODE_UNKNOWN : "unknownIdentity", // No trusted identity information
IDENTITY_MODE_MIXED_DISPLAY_LOADED : "unknownIdentity mixedContent mixedDisplayContent", // SSL with unauthenticated display content
IDENTITY_MODE_MIXED_ACTIVE_LOADED : "unknownIdentity mixedContent mixedActiveContent", // SSL with unauthenticated active (and perhaps also display) content
IDENTITY_MODE_MIXED_DISPLAY_LOADED_ACTIVE_BLOCKED : "unknownIdentity mixedContent mixedDisplayContent", // SSL with unauthenticated display content; unauthenticated active content is blocked.
IDENTITY_MODE_MIXED_DISPLAY_LOADED_ACTIVE_BLOCKED : "unknownIdentity mixedContent mixedDisplayContent2", // SSL with unauthenticated display content; unauthenticated active content is blocked.
IDENTITY_MODE_CHROMEUI : "chromeUI", // Part of the product's UI
// Cache the most recent SSLStatus and Location seen in checkIdentity

Просмотреть файл

@ -1404,6 +1404,10 @@ toolbar[mode="icons"] #zoom-in-button {
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display@2x.png);
}
.mixedDisplayContent2 > #page-proxy-favicon[pageproxystate="valid"] {
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display@2x.png);
}
#identity-box:hover:active > #page-proxy-favicon,
#identity-box[open=true] > #page-proxy-favicon {
-moz-image-region: rect(0, 64px, 32px, 32px);

Просмотреть файл

@ -76,6 +76,10 @@
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display.png);
}
.mixedDisplayContent2 > #page-proxy-favicon[pageproxystate="valid"] {
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display.png);
}
#page-proxy-favicon[pageproxystate="invalid"] {
opacity: 0.3;
}