Bug 871491 - Add distinguishing icons for security errors and warnings. r=msucan
authorGarrett Robinson <grobinson@mozilla.com>
Mon, 13 May 2013 16:18:35 -0700
changeset 132137 49d1bd0e5bd85d4039b22c341d23a02811cccc3b
parent 132136 94978dab7186a4abcc3d6a51dbe3098901b6d135
child 132138 eb786d6183db33b4a4c6e401b8b01548174010f3
push id24685
push userryanvm@gmail.com
push dateFri, 17 May 2013 00:29:48 +0000
treeherdermozilla-central@ea767da526ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmsucan
bugs871491
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 871491 - Add distinguishing icons for security errors and warnings. r=msucan
browser/themes/linux/devtools/webconsole.css
browser/themes/linux/devtools/webconsole.png
browser/themes/osx/devtools/webconsole.css
browser/themes/osx/devtools/webconsole.png
browser/themes/windows/devtools/webconsole.css
browser/themes/windows/devtools/webconsole.png
--- a/browser/themes/linux/devtools/webconsole.css
+++ b/browser/themes/linux/devtools/webconsole.css
@@ -243,16 +243,26 @@
   box-shadow: 0 0 12px #dfdfdf;
 }
 
 #webconsole-sidebar > tabs {
   height: 0;
   border: none;
 }
 
+/* Security styles */
+
 .webconsole-msg-security > .webconsole-msg-icon-container {
   -moz-border-start: solid red 6px;
 }
 
 .webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
   background-image: linear-gradient(#FF3030, #FF7D7D);
   border-color: #D12C2C;
 }
+
+.webconsole-msg-security.webconsole-msg-error {
+  -moz-image-region: rect(32px, 16px, 40px, 8px);
+}
+
+.webconsole-msg-security.webconsole-msg-warn {
+  -moz-image-region: rect(32px, 24px, 40px, 16px);
+}
index 781dc4f3d091116ca3a802557e01c0c9872343a1..8aee79015710dbfac7836fb0c0dc4f5ed48e8d65
GIT binary patch
literal 1943
zc$@*32Wa?-P)<h;3K|Lk000e1NJLTq001xm001Zm1^@s6x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OZo>l!p4cgp
z$&^X(#7^-*%xVsLAZ873m=4mWla#razj`31ZRvE*JjQMhiqB-o)YSoLZ56rizT$7>
zzXxJkNt<RyN=}5vH*wi~YU#MqwD5ZH_K*Z`4~f~pAL{17Jcy*zRb}3GIHqICiK@o$
zVvh$B4iCgUMt#nOJb?N6TSceT_7IEIfjA3Dqz+su)`7Bq;2-rl7h)PjT(_!BgP1K5
z%r|kl3{D-S&7<rKBO{wOiEP>=rAX~!Pt6?|2PxPWMx_8UUL^6MC~Tr|G7oXgtl<q0
zBmj{c6CyVzmK<o|^_n{{x}NjnAn#SkILPRF&I6b>j+9}(gLIgIqTG;e+eEf)TXLYe
d*gw>A{14mg8HFPC(Z>J)002ovPDHLkV1m%hq2~Yq
--- a/browser/themes/osx/devtools/webconsole.css
+++ b/browser/themes/osx/devtools/webconsole.css
@@ -247,16 +247,26 @@
   box-shadow: 0 0 12px #dfdfdf;
 }
 
 #webconsole-sidebar > tabs {
   height: 0;
   border: none;
 }
 
+/* Security styles */
+
 .webconsole-msg-security > .webconsole-msg-icon-container {
   -moz-border-start: solid red 6px;
 }
 
 .webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
   background-image: linear-gradient(#FF3030, #FF7D7D);
   border-color: #D12C2C;
 }
+
+.webconsole-msg-security.webconsole-msg-error {
+  -moz-image-region: rect(32px, 16px, 40px, 8px);
+}
+
+.webconsole-msg-security.webconsole-msg-warn {
+  -moz-image-region: rect(32px, 24px, 40px, 16px);
+}
index 781dc4f3d091116ca3a802557e01c0c9872343a1..8aee79015710dbfac7836fb0c0dc4f5ed48e8d65
GIT binary patch
literal 1943
zc$@*32Wa?-P)<h;3K|Lk000e1NJLTq001xm001Zm1^@s6xQBUh00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-31L2CN!ls@^b(H2P8>E
zK~z}7#h6`e99I>`f3vgekhm?Yb=GN|Pp6F{A`vx|x>OC_cC8rWheTB2Mo=D#f`Sr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
zVvh$B4iCgUMt#nOJb?N6TSceT_7IEIfjA3Dqz+su)`7Bq;2-rl7h)PjT(_!BgP1K5
z%r|kl3{D-S&7<rKBO{wOiEP>=rAX~!Pt6?|2PxPWMx_8UUL^6MC~Tr|G7oXgtl<q0
zBmj{c6CyVzmK<o|^_n{{x}NjnAn#SkILPRF&I6b>j+9}(gLIgIqTG;e+eEf)TXLYe
d*gw>A{14mg8HFPC(Z>J)002ovPDHLkV1m%hq2~Yq
--- a/browser/themes/windows/devtools/webconsole.css
+++ b/browser/themes/windows/devtools/webconsole.css
@@ -252,16 +252,26 @@
   box-shadow: 0 0 12px #dfdfdf;
 }
 
 #webconsole-sidebar > tabs {
   height: 0;
   border: none;
 }
 
+/* Security styles */
+
 .webconsole-msg-security > .webconsole-msg-icon-container {
   -moz-border-start: solid red 6px;
 }
 
 .webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
   background-image: linear-gradient(#FF3030, #FF7D7D);
   border-color: #D12C2C;
 }
+
+.webconsole-msg-security.webconsole-msg-error {
+  -moz-image-region: rect(32px, 16px, 40px, 8px);
+}
+
+.webconsole-msg-security.webconsole-msg-warn {
+  -moz-image-region: rect(32px, 24px, 40px, 16px);
+}
index 781dc4f3d091116ca3a802557e01c0c9872343a1..8aee79015710dbfac7836fb0c0dc4f5ed48e8d65
GIT binary patch
literal 1943
zc$@*32Wa?-P)<h;3K|Lk000e1NJLTq001xm001Zm1^@s6xQBUh00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-31L2CN!ls@^b(H2P8>E
zK~z}7#h6`e99I>`f3vgekhm?Yb=GN|Pp6F{A`vx|x>OC_cC8rWheTB2Mo=D#f`Sr<
zq@qY5ND+x#1cD-p94fw)BJp$^DY7FR)8dFoD5!v3a3w2MP-399-P#W8;@IB3Gjn*@
zJL}oaCd~u8zS7a|+%t3MoH_shIrm&A9*+-g-n==RNF<03V+><sV;4NnYX_bNehW-l
zbqe?l@GF*i#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