Title: [184824] trunk/Source/WebInspectorUI
- Revision
- 184824
- Author
- [email protected]
- Date
- 2015-05-23 08:07:27 -0700 (Sat, 23 May 2015)
Log Message
Web Inspector: Remove code related with unused style classes
https://bugs.webkit.org/show_bug.cgi?id=145332
Patch by Joseph Pecoraro <[email protected]> on 2015-05-23
Reviewed by Timothy Hatcher.
* UserInterface/Views/ConsoleMessageView.js:
(WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.append):
(WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString):
The "type-string" class has no styles associated with it. So the entire span can be removed.
* UserInterface/Views/DOMTreeElement.js:
Both of these style classes have no styles associated with them. Remove the class names.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (184823 => 184824)
--- trunk/Source/WebInspectorUI/ChangeLog 2015-05-23 15:03:43 UTC (rev 184823)
+++ trunk/Source/WebInspectorUI/ChangeLog 2015-05-23 15:07:27 UTC (rev 184824)
@@ -1,5 +1,20 @@
2015-05-23 Joseph Pecoraro <[email protected]>
+ Web Inspector: Remove code related with unused style classes
+ https://bugs.webkit.org/show_bug.cgi?id=145332
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/ConsoleMessageView.js:
+ (WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.append):
+ (WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString):
+ The "type-string" class has no styles associated with it. So the entire span can be removed.
+
+ * UserInterface/Views/DOMTreeElement.js:
+ Both of these style classes have no styles associated with them. Remove the class names.
+
+2015-05-23 Joseph Pecoraro <[email protected]>
+
Web Inspector: Improve native parameter lists a bit
https://bugs.webkit.org/show_bug.cgi?id=145338
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js (184823 => 184824)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js 2015-05-23 15:03:43 UTC (rev 184823)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js 2015-05-23 15:07:27 UTC (rev 184824)
@@ -581,10 +581,7 @@
toAppend = wrapper;
}
- var span = document.createElement("span");
- span.className = "type-string";
- span.appendChild(toAppend);
- a.appendChild(span);
+ a.appendChild(toAppend);
}
return a;
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js (184823 => 184824)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js 2015-05-23 15:03:43 UTC (rev 184823)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js 2015-05-23 15:07:27 UTC (rev 184824)
@@ -810,7 +810,6 @@
return;
this._htmlEditElement = document.createElement("div");
- this._htmlEditElement.className = "source-code elements-tree-editor";
this._htmlEditElement.textContent = initialValue;
// Hide header items.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes