mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
Bug 912817 - Add a new class for mixed display content loaded / active content blocked to differentiate it from the mixed display content loaded / no active content case. r=jaws
This commit is contained in:
parent
4cafb7489b
commit
e03d07cca4
@ -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 mixedDisplayContentLoadedActiveBlocked", // 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);
|
||||
}
|
||||
|
||||
.mixedDisplayContentLoadedActiveBlocked > #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);
|
||||
}
|
||||
|
||||
.mixedDisplayContentLoadedActiveBlocked > #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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user