Changeset 73311 in webkit
- Timestamp:
- Dec 3, 2010 3:18:01 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r73309 r73311 1 2010-12-03 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: Duplicate "!important" for !important properties displayed in the Styles pane 6 https://bugs.webkit.org/show_bug.cgi?id=50460 7 8 * inspector/front-end/StylesSidebarPane.js: 9 * inspector/front-end/inspector.css: 10 1 11 2010-12-03 Xan Lopez <xlopez@igalia.com> 2 12 -
trunk/WebCore/inspector/front-end/StylesSidebarPane.js
r72786 r73311 1180 1180 updateTitle: function() 1181 1181 { 1182 var priority = this.priority;1183 1182 var value = this.value; 1184 1185 if (priority && !priority.length)1186 delete priority;1187 if (priority)1188 priority = "!" + priority;1189 1183 1190 1184 this.updateState(); … … 1340 1334 } 1341 1335 1342 if (priority) {1343 var priorityElement = document.createElement("span");1344 priorityElement.className = "priority";1345 priorityElement.textContent = priority;1346 }1347 1348 1336 this.listItemElement.removeChildren(); 1349 1337 … … 1357 1345 this.listItemElement.appendChild(document.createTextNode(": ")); 1358 1346 this.listItemElement.appendChild(valueElement); 1359 1360 if (priorityElement) {1361 this.listItemElement.appendChild(document.createTextNode(" "));1362 this.listItemElement.appendChild(priorityElement);1363 }1364 1365 1347 this.listItemElement.appendChild(document.createTextNode(";")); 1366 1348 -
trunk/WebCore/inspector/front-end/inspector.css
r72655 r73311 1489 1489 } 1490 1490 1491 .section .properties .priority {1492 color: rgb(128, 0, 0);1493 }1494 1495 1491 .section .properties .keyword, .event-properties .keyword { 1496 1492 color: rgb(136, 19, 79);
Note: See TracChangeset
for help on using the changeset viewer.