Title: [98489] trunk/Source/WebCore
Revision
98489
Author
apav...@chromium.org
Date
2011-10-26 09:20:57 -0700 (Wed, 26 Oct 2011)

Log Message

Web Inspector: Need workaround for the red crossed circle in the status bar not bringing up the console when clicked
https://bugs.webkit.org/show_bug.cgi?id=70928

Reviewed by Pavel Feldman.

* inspector/front-end/inspector.css:
(#error-count-img):
(#error-count + #warning-count-img):
(#warning-count-img):
* inspector/front-end/inspector.js:
(WebInspector._updateErrorAndWarningCounts):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (98488 => 98489)


--- trunk/Source/WebCore/ChangeLog	2011-10-26 16:05:00 UTC (rev 98488)
+++ trunk/Source/WebCore/ChangeLog	2011-10-26 16:20:57 UTC (rev 98489)
@@ -1,3 +1,17 @@
+2011-10-26  Alexander Pavlov  <apav...@chromium.org>
+
+        Web Inspector: Need workaround for the red crossed circle in the status bar not bringing up the console when clicked
+        https://bugs.webkit.org/show_bug.cgi?id=70928
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/inspector.css:
+        (#error-count-img):
+        (#error-count + #warning-count-img):
+        (#warning-count-img):
+        * inspector/front-end/inspector.js:
+        (WebInspector._updateErrorAndWarningCounts):
+
 2011-10-26  Mike Reed  <r...@google.com>
 
         [skia] replace offscreen technique with native support for antialiased clipping

Modified: trunk/Source/WebCore/inspector/front-end/inspector.css (98488 => 98489)


--- trunk/Source/WebCore/inspector/front-end/inspector.css	2011-10-26 16:05:00 UTC (rev 98488)
+++ trunk/Source/WebCore/inspector/front-end/inspector.css	2011-10-26 16:20:57 UTC (rev 98489)
@@ -567,7 +567,7 @@
     border-bottom: 1px solid rgb(96, 96, 96);
 }
 
-#error-count::before {
+#error-count-img {
     content: url(Images/errorIcon.png);
     width: 10px;
     height: 10px;
@@ -575,11 +575,11 @@
     margin-right: 2px;
 }
 
-#error-count + #warning-count {
+#error-count + #warning-count-img {
     margin-left: 6px;
 }
 
-#warning-count::before {
+#warning-count-img {
     content: url(Images/warningIcon.png);
     width: 10px;
     height: 10px;

Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (98488 => 98489)


--- trunk/Source/WebCore/inspector/front-end/inspector.js	2011-10-26 16:05:00 UTC (rev 98488)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js	2011-10-26 16:20:57 UTC (rev 98489)
@@ -357,6 +357,9 @@
         errorWarningElement.removeChildren();
 
         if (errors) {
+            var errorImageElement = document.createElement("img");
+            errorImageElement.id = "error-count-img";
+            errorWarningElement.appendChild(errorImageElement);
             var errorElement = document.createElement("span");
             errorElement.id = "error-count";
             errorElement.textContent = errors;
@@ -364,6 +367,9 @@
         }
 
         if (warnings) {
+            var warningsImageElement = document.createElement("img");
+            warningsImageElement.id = "warning-count-img";
+            errorWarningElement.appendChild(warningsImageElement);
             var warningsElement = document.createElement("span");
             warningsElement.id = "warning-count";
             warningsElement.textContent = warnings;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to