Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2910)

Unified Diff: WebCore/inspector/front-end/StylesSidebarPane.js

Issue 5816003: Merge 73311 - 2010-12-03 Alexander Pavlov <apavlov@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | WebCore/inspector/front-end/inspector.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/inspector/front-end/StylesSidebarPane.js
===================================================================
--- WebCore/inspector/front-end/StylesSidebarPane.js (revision 74021)
+++ WebCore/inspector/front-end/StylesSidebarPane.js (working copy)
@@ -1179,14 +1179,8 @@
updateTitle: function()
{
- var priority = this.priority;
var value = this.value;
- if (priority && !priority.length)
- delete priority;
- if (priority)
- priority = "!" + priority;
-
this.updateState();
var enabledCheckboxElement;
@@ -1339,12 +1333,6 @@
valueElement.appendChild(processValue(/url\(([^)]+)\)/g, linkifyURL, colorProcessor, value));
}
- if (priority) {
- var priorityElement = document.createElement("span");
- priorityElement.className = "priority";
- priorityElement.textContent = priority;
- }
-
this.listItemElement.removeChildren();
if (!this.treeOutline)
@@ -1356,12 +1344,6 @@
this.listItemElement.appendChild(nameElement);
this.listItemElement.appendChild(document.createTextNode(": "));
this.listItemElement.appendChild(valueElement);
-
- if (priorityElement) {
- this.listItemElement.appendChild(document.createTextNode(" "));
- this.listItemElement.appendChild(priorityElement);
- }
-
this.listItemElement.appendChild(document.createTextNode(";"));
if (!this.parsedOk)
« no previous file with comments | « no previous file | WebCore/inspector/front-end/inspector.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698