Web Inspector: Remove unused CSS class "offset-sections"
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 May 2019 21:06:56 +0000 (21:06 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 May 2019 21:06:56 +0000 (21:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=198194
<rdar://problem/51080111>

Reviewed by Devin Rousso.

* UserInterface/Views/DebuggerSidebarPanel.js:
* UserInterface/Views/StyleDetailsPanel.js:
(WI.StyleDetailsPanel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245713 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js
Source/WebInspectorUI/UserInterface/Views/StyleDetailsPanel.js

index 8c988d6..8205b91 100644 (file)
@@ -1,3 +1,15 @@
+2019-05-23  Matt Baker  <mattbaker@apple.com>
+
+        Web Inspector: Remove unused CSS class "offset-sections"
+        https://bugs.webkit.org/show_bug.cgi?id=198194
+        <rdar://problem/51080111>
+
+        Reviewed by Devin Rousso.
+
+        * UserInterface/Views/DebuggerSidebarPanel.js:
+        * UserInterface/Views/StyleDetailsPanel.js:
+        (WI.StyleDetailsPanel):
+
 2019-05-23  Devin Rousso  <drousso@apple.com>
 
         Web Inspector: clicking a source link should never open the Network tab
index 696ffc0..8dc2175 100644 (file)
@@ -124,9 +124,6 @@ WI.DebuggerSidebarPanel = class DebuggerSidebarPanel extends WI.NavigationSideba
         this._debuggerStepOutButtonItem.enabled = false;
         this._navigationBar.addNavigationItem(this._debuggerStepOutButtonItem);
 
-        // Add this offset-sections class name so the sticky headers don't overlap the navigation bar.
-        this.element.classList.add(WI.DebuggerSidebarPanel.OffsetSectionsStyleClassName);
-
         function showResourcesWithIssuesOnlyFilterFunction(treeElement)
         {
             // Issues are only shown in the scripts tree outline.
index 055d9cf..f94bde4 100644 (file)
@@ -31,8 +31,7 @@ WI.StyleDetailsPanel = class StyleDetailsPanel extends WI.View
 
         this._delegate = delegate || null;
 
-        // Add this offset-sections class name so the sticky headers don't overlap the navigation bar.
-        this.element.classList.add(className, "offset-sections");
+        this.element.classList.add(className);
 
         this._navigationInfo = {identifier, label};