Title: [98703] branches/chromium/912/Source/WebCore/inspector/front-end
- Revision
- 98703
- Author
- [email protected]
- Date
- 2011-10-28 00:19:44 -0700 (Fri, 28 Oct 2011)
Log Message
Merge 98489 - 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):
[email protected]
Review URL: http://codereview.chromium.org/8343053
Modified Paths
Diff
Modified: branches/chromium/912/Source/WebCore/inspector/front-end/inspector.css (98702 => 98703)
--- branches/chromium/912/Source/WebCore/inspector/front-end/inspector.css 2011-10-28 07:18:36 UTC (rev 98702)
+++ branches/chromium/912/Source/WebCore/inspector/front-end/inspector.css 2011-10-28 07:19:44 UTC (rev 98703)
@@ -559,7 +559,7 @@
border-bottom: 1px solid rgb(96, 96, 96);
}
-#error-count::before {
+#error-count-img {
content: url(Images/errorIcon.png);
width: 10px;
height: 10px;
@@ -567,11 +567,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: branches/chromium/912/Source/WebCore/inspector/front-end/inspector.js (98702 => 98703)
--- branches/chromium/912/Source/WebCore/inspector/front-end/inspector.js 2011-10-28 07:18:36 UTC (rev 98702)
+++ branches/chromium/912/Source/WebCore/inspector/front-end/inspector.js 2011-10-28 07:19:44 UTC (rev 98703)
@@ -350,6 +350,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;
@@ -357,6 +360,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
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes