<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[182990] trunk/Source/WebInspectorUI</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/182990">182990</a></dd>
<dt>Author</dt> <dd>nvasilyev@apple.com</dd>
<dt>Date</dt> <dd>2015-04-18 21:20:46 -0700 (Sat, 18 Apr 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Web Inspector: Pass multiple arguments to classList.add and classList.remove
https://bugs.webkit.org/show_bug.cgi?id=143914
classList.add and classList.remove can accept multiple arguments, use that.
Reviewed by Timothy Hatcher.
* UserInterface/Base/Main.js:
(WebInspector.updateDockedState):
* UserInterface/Views/DOMTreeDataGrid.js:
(WebInspector.DOMTreeDataGrid):
* UserInterface/Views/DOMTreeOutline.js:
(WebInspector.DOMTreeOutline):
* UserInterface/Views/DataGrid.js:
(WebInspector.DataGridNode.prototype.set hasChildren):
* UserInterface/Views/DatabaseContentView.js:
(WebInspector.DatabaseContentView):
* UserInterface/Views/DetailsSection.js:
(WebInspector.DetailsSection):
* UserInterface/Views/DetailsSectionPropertiesRow.js:
(WebInspector.DetailsSectionPropertiesRow):
* UserInterface/Views/GeneralTreeElement.js:
(WebInspector.GeneralTreeElement.prototype.set classNames):
* UserInterface/Views/NavigationItem.js:
(WebInspector.NavigationItem):
* UserInterface/Views/ResourceContentView.js:
(WebInspector.ResourceContentView):
* UserInterface/Views/ResourceTimelineDataGridNode.js:
(WebInspector.ResourceTimelineDataGridNode.prototype.createCellContent):
* UserInterface/Views/Sidebar.js:
(WebInspector.Sidebar):
* UserInterface/Views/SidebarPanel.js:
(WebInspector.SidebarPanel):
* UserInterface/Views/SourceCodeTextEditor.js:
* UserInterface/Views/TextEditor.js:
(WebInspector.TextEditor):
* UserInterface/Views/TimelineRuler.js:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceBaseMainjs">trunk/Source/WebInspectorUI/UserInterface/Base/Main.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeDataGridjs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeDataGrid.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeOutlinejs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDataGridjs">trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDatabaseContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDetailsSectionjs">trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDetailsSectionPropertiesRowjs">trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionPropertiesRow.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsGeneralTreeElementjs">trunk/Source/WebInspectorUI/UserInterface/Views/GeneralTreeElement.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsNavigationItemjs">trunk/Source/WebInspectorUI/UserInterface/Views/NavigationItem.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsResourceContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsResourceTimelineDataGridNodejs">trunk/Source/WebInspectorUI/UserInterface/Views/ResourceTimelineDataGridNode.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsSidebarjs">trunk/Source/WebInspectorUI/UserInterface/Views/Sidebar.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsSourceCodeTextEditorjs">trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsTextEditorjs">trunk/Source/WebInspectorUI/UserInterface/Views/TextEditor.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsTimelineRulerjs">trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/ChangeLog        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -1,5 +1,45 @@
</span><span class="cx"> 2015-04-18 Nikita Vasilyev <nvasilyev@apple.com>
</span><span class="cx">
</span><ins>+ Web Inspector: Pass multiple arguments to classList.add and classList.remove
+ https://bugs.webkit.org/show_bug.cgi?id=143914
+
+ classList.add and classList.remove can accept multiple arguments, use that.
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Base/Main.js:
+ (WebInspector.updateDockedState):
+ * UserInterface/Views/DOMTreeDataGrid.js:
+ (WebInspector.DOMTreeDataGrid):
+ * UserInterface/Views/DOMTreeOutline.js:
+ (WebInspector.DOMTreeOutline):
+ * UserInterface/Views/DataGrid.js:
+ (WebInspector.DataGridNode.prototype.set hasChildren):
+ * UserInterface/Views/DatabaseContentView.js:
+ (WebInspector.DatabaseContentView):
+ * UserInterface/Views/DetailsSection.js:
+ (WebInspector.DetailsSection):
+ * UserInterface/Views/DetailsSectionPropertiesRow.js:
+ (WebInspector.DetailsSectionPropertiesRow):
+ * UserInterface/Views/GeneralTreeElement.js:
+ (WebInspector.GeneralTreeElement.prototype.set classNames):
+ * UserInterface/Views/NavigationItem.js:
+ (WebInspector.NavigationItem):
+ * UserInterface/Views/ResourceContentView.js:
+ (WebInspector.ResourceContentView):
+ * UserInterface/Views/ResourceTimelineDataGridNode.js:
+ (WebInspector.ResourceTimelineDataGridNode.prototype.createCellContent):
+ * UserInterface/Views/Sidebar.js:
+ (WebInspector.Sidebar):
+ * UserInterface/Views/SidebarPanel.js:
+ (WebInspector.SidebarPanel):
+ * UserInterface/Views/SourceCodeTextEditor.js:
+ * UserInterface/Views/TextEditor.js:
+ (WebInspector.TextEditor):
+ * UserInterface/Views/TimelineRuler.js:
+
+2015-04-18 Nikita Vasilyev <nvasilyev@apple.com>
+
</ins><span class="cx"> Web Inspector: Make prototype pill’s background semi-transparent
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=143928
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceBaseMainjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -457,27 +457,19 @@
</span><span class="cx"> this._ignoreToolbarModeDidChangeEvents = true;
</span><span class="cx">
</span><span class="cx"> if (side === "bottom") {
</span><del>- document.body.classList.add("docked");
- document.body.classList.add("bottom");
</del><ins>+ document.body.classList.add("docked", "bottom");
+ document.body.classList.remove("window-inactive", "right");
</ins><span class="cx">
</span><del>- document.body.classList.remove("window-inactive");
- document.body.classList.remove("right");
-
</del><span class="cx"> this.toolbar.displayMode = this._toolbarDockedBottomDisplayModeSetting.value;
</span><span class="cx"> this.toolbar.sizeMode = this._toolbarDockedBottomSizeModeSetting.value;
</span><span class="cx"> } else if (side === "right") {
</span><del>- document.body.classList.add("docked");
- document.body.classList.add("right");
</del><ins>+ document.body.classList.add("docked", "right");
+ document.body.classList.remove("window-inactive", "bottom");
</ins><span class="cx">
</span><del>- document.body.classList.remove("window-inactive");
- document.body.classList.remove("bottom");
-
</del><span class="cx"> this.toolbar.displayMode = this._toolbarDockedRightDisplayModeSetting.value;
</span><span class="cx"> this.toolbar.sizeMode = this._toolbarDockedRightSizeModeSetting.value;
</span><span class="cx"> } else {
</span><del>- document.body.classList.remove("docked");
- document.body.classList.remove("right");
- document.body.classList.remove("bottom");
</del><ins>+ document.body.classList.remove("docked", "right", "bottom");
</ins><span class="cx">
</span><span class="cx"> this.toolbar.displayMode = this._toolbarUndockedDisplayModeSetting.value;
</span><span class="cx"> this.toolbar.sizeMode = this._toolbarUndockedSizeModeSetting.value;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeDataGridjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeDataGrid.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeDataGrid.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeDataGrid.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -30,8 +30,7 @@
</span><span class="cx">
</span><span class="cx"> this._previousHoveredElement = null;
</span><span class="cx">
</span><del>- this.element.classList.add("dom-tree-data-grid");
- this.element.classList.add("inline");
</del><ins>+ this.element.classList.add("inline", "dom-tree-data-grid");
</ins><span class="cx">
</span><span class="cx"> this.element.addEventListener("mousemove", this._onmousemove.bind(this), false);
</span><span class="cx"> this.element.addEventListener("mouseout", this._onmouseout.bind(this), false);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeOutlinejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -45,8 +45,7 @@
</span><span class="cx"> element.addEventListener("drop", this._ondrop.bind(this), false);
</span><span class="cx"> element.addEventListener("dragend", this._ondragend.bind(this), false);
</span><span class="cx">
</span><del>- element.classList.add("dom-tree-outline");
- element.classList.add(WebInspector.SyntaxHighlightedStyleClassName);
</del><ins>+ element.classList.add("dom-tree-outline", WebInspector.SyntaxHighlightedStyleClassName);
</ins><span class="cx">
</span><span class="cx"> this._includeRootDOMNode = !omitRootDOMNode;
</span><span class="cx"> this._selectEnabled = selectEnabled;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDataGridjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -1454,8 +1454,7 @@
</span><span class="cx"> }
</span><span class="cx"> else
</span><span class="cx"> {
</span><del>- this._element.classList.remove("parent");
- this._element.classList.remove("expanded");
</del><ins>+ this._element.classList.remove("parent", "expanded");
</ins><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDatabaseContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -29,9 +29,7 @@
</span><span class="cx">
</span><span class="cx"> this.database = representedObject;
</span><span class="cx">
</span><del>- this.element.classList.add("storage-view");
- this.element.classList.add("query");
- this.element.classList.add("monospace");
</del><ins>+ this.element.classList.add("storage-view", "query", "monospace");
</ins><span class="cx">
</span><span class="cx"> this._promptElement = document.createElement("div");
</span><span class="cx"> this._promptElement.className = "database-query-prompt";
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDetailsSectionjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -32,8 +32,7 @@
</span><span class="cx"> console.assert(identifier);
</span><span class="cx">
</span><span class="cx"> this._element = document.createElement("div");
</span><del>- this._element.className = WebInspector.DetailsSection.StyleClassName;
- this._element.classList.add(identifier);
</del><ins>+ this._element.classList.add(identifier, "details-section");
</ins><span class="cx">
</span><span class="cx"> this._headerElement = document.createElement("div");
</span><span class="cx"> this._headerElement.addEventListener("click", this._headerElementClicked.bind(this));
</span><span class="lines">@@ -161,7 +160,6 @@
</span><span class="cx"> }
</span><span class="cx"> };
</span><span class="cx">
</span><del>-WebInspector.DetailsSection.StyleClassName = "details-section";
</del><span class="cx"> WebInspector.DetailsSection.HeaderElementStyleClassName = "header";
</span><span class="cx"> WebInspector.DetailsSection.TitleElementStyleClassName = "title";
</span><span class="cx"> WebInspector.DetailsSection.ContentElementStyleClassName = "content";
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDetailsSectionPropertiesRowjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionPropertiesRow.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionPropertiesRow.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionPropertiesRow.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -29,8 +29,7 @@
</span><span class="cx"> {
</span><span class="cx"> super(emptyMessage);
</span><span class="cx">
</span><del>- this.element.classList.add("properties");
- this.element.classList.add(WebInspector.SyntaxHighlightedStyleClassName);
</del><ins>+ this.element.classList.add("properties", WebInspector.SyntaxHighlightedStyleClassName);
</ins><span class="cx">
</span><span class="cx"> this.propertiesSection = propertiesSection;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsGeneralTreeElementjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/GeneralTreeElement.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/GeneralTreeElement.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/GeneralTreeElement.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -77,8 +77,7 @@
</span><span class="cx"> set classNames(x)
</span><span class="cx"> {
</span><span class="cx"> if (this._listItemNode && this._classNames) {
</span><del>- for (var i = 0; i < this._classNames.length; ++i)
- this._listItemNode.classList.remove(this._classNames[i]);
</del><ins>+ this._listItemNode.classList.remove(...this._classNames);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (typeof x === "string")
</span><span class="lines">@@ -87,8 +86,7 @@
</span><span class="cx"> this._classNames = x || [];
</span><span class="cx">
</span><span class="cx"> if (this._listItemNode) {
</span><del>- for (var i = 0; i < this._classNames.length; ++i)
- this._listItemNode.classList.add(this._classNames[i]);
</del><ins>+ this._listItemNode.classList.add(...this._classNames);
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -222,8 +220,7 @@
</span><span class="cx"> this._listItemNode.classList.add("item");
</span><span class="cx">
</span><span class="cx"> if (this._classNames) {
</span><del>- for (var i = 0; i < this._classNames.length; ++i)
- this._listItemNode.classList.add(this._classNames[i]);
</del><ins>+ this._listItemNode.classList.add(...this._classNames);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (this._small)
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsNavigationItemjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NavigationItem.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/NavigationItem.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NavigationItem.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -37,10 +37,7 @@
</span><span class="cx"> if (label)
</span><span class="cx"> this._element.setAttribute("aria-label", label);
</span><span class="cx">
</span><del>- var classNames = this._classNames;
- for (var i = 0; i < classNames.length; ++i)
- this._element.classList.add(classNames[i]);
-
</del><ins>+ this._element.classList.add(...this._classNames);
</ins><span class="cx"> this._element.navigationItem = this;
</span><span class="cx"> };
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsResourceContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -32,8 +32,7 @@
</span><span class="cx">
</span><span class="cx"> this._resource = resource;
</span><span class="cx">
</span><del>- this.element.classList.add(WebInspector.ResourceContentView.StyleClassName);
- this.element.classList.add(styleClassName);
</del><ins>+ this.element.classList.add(styleClassName, "resource");
</ins><span class="cx">
</span><span class="cx"> // Append a spinner while waiting for contentAvailable. The subclasses are responsible for removing
</span><span class="cx"> // the spinner before showing the resource content.
</span><span class="lines">@@ -54,8 +53,6 @@
</span><span class="cx"> }
</span><span class="cx"> };
</span><span class="cx">
</span><del>-WebInspector.ResourceContentView.StyleClassName = "resource";
-
</del><span class="cx"> WebInspector.ResourceContentView.prototype = {
</span><span class="cx"> constructor: WebInspector.ResourceContentView,
</span><span class="cx"> __proto__: WebInspector.ContentView.prototype,
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsResourceTimelineDataGridNodejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ResourceTimelineDataGridNode.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ResourceTimelineDataGridNode.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ResourceTimelineDataGridNode.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -107,8 +107,7 @@
</span><span class="cx">
</span><span class="cx"> switch (columnIdentifier) {
</span><span class="cx"> case "name":
</span><del>- cell.classList.add(WebInspector.ResourceTreeElement.ResourceIconStyleClassName);
- cell.classList.add(resource.type);
</del><ins>+ cell.classList.add(resource.type, WebInspector.ResourceTreeElement.ResourceIconStyleClassName);
</ins><span class="cx">
</span><span class="cx"> var fragment = document.createDocumentFragment();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsSidebarjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Sidebar.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/Sidebar.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Sidebar.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -33,9 +33,7 @@
</span><span class="cx"> this._side = side || WebInspector.Sidebar.Sides.Left;
</span><span class="cx">
</span><span class="cx"> this._element = element || document.createElement("div");
</span><del>- this._element.classList.add("sidebar");
- this._element.classList.add(WebInspector.Sidebar.CollapsedStyleClassName);
- this._element.classList.add(this._side);
</del><ins>+ this._element.classList.add("sidebar", this._side, WebInspector.Sidebar.CollapsedStyleClassName);
</ins><span class="cx">
</span><span class="cx"> this._element.setAttribute("role", role || "group");
</span><span class="cx"> if (label)
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -36,8 +36,7 @@
</span><span class="cx"> this._toolbarItem.enabled = false;
</span><span class="cx">
</span><span class="cx"> this._element = element || document.createElement("div");
</span><del>- this._element.classList.add("panel");
- this._element.classList.add(identifier);
</del><ins>+ this._element.classList.add("panel", identifier);
</ins><span class="cx">
</span><span class="cx"> this._element.setAttribute("role", role || "group");
</span><span class="cx"> this._element.setAttribute("aria-label", label || displayName);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsSourceCodeTextEditorjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -840,8 +840,7 @@
</span><span class="cx"> return null;
</span><span class="cx">
</span><span class="cx"> var widgetElement = widget.widgetElement;
</span><del>- widgetElement.classList.add("issue-widget");
- widgetElement.classList.add("inline");
</del><ins>+ widgetElement.classList.add("issue-widget", "inline");
</ins><span class="cx"> widgetElement.addEventListener("click", this._handleWidgetClick.bind(this, widget, lineNumber));
</span><span class="cx">
</span><span class="cx"> this._widgetMap.set(lineNumber, widget);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsTextEditorjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TextEditor.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/TextEditor.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TextEditor.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -30,8 +30,7 @@
</span><span class="cx"> super();
</span><span class="cx">
</span><span class="cx"> this._element = element || document.createElement("div");
</span><del>- this._element.classList.add("text-editor");
- this._element.classList.add(WebInspector.SyntaxHighlightedStyleClassName);
</del><ins>+ this._element.classList.add("text-editor", WebInspector.SyntaxHighlightedStyleClassName);
</ins><span class="cx">
</span><span class="cx"> this._codeMirror = CodeMirror(this.element, {
</span><span class="cx"> readOnly: true,
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsTimelineRulerjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js (182989 => 182990)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js        2015-04-19 04:19:54 UTC (rev 182989)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js        2015-04-19 04:20:46 UTC (rev 182990)
</span><span class="lines">@@ -291,8 +291,7 @@
</span><span class="cx"> marker.addEventListener(WebInspector.TimelineMarker.Event.TimeChanged, this._timelineMarkerTimeChanged, this);
</span><span class="cx">
</span><span class="cx"> var markerElement = document.createElement("div");
</span><del>- markerElement.classList.add(WebInspector.TimelineRuler.BaseMarkerElementStyleClassName);
- markerElement.classList.add(marker.type);
</del><ins>+ markerElement.classList.add(marker.type, WebInspector.TimelineRuler.BaseMarkerElementStyleClassName);
</ins><span class="cx">
</span><span class="cx"> this._markerElementMap.set(marker, markerElement);
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>