Title: [248682] trunk/Source/WebInspectorUI
Revision
248682
Author
drou...@apple.com
Date
2019-08-14 11:43:07 -0700 (Wed, 14 Aug 2019)

Log Message

Web Inspector: Elements: Computed: the collapsed state of the Variables section should be separate from the collapsed state of the Properties section
https://bugs.webkit.org/show_bug.cgi?id=200725

Reviewed by Joseph Pecoraro.

* UserInterface/Views/ComputedStyleDetailsPanel.js:
(WI.ComputedStyleDetailsPanel.prototype.initialLayout):
Use a different identifier string for the Variable section so it preserves its own collapsed
collapsed state independent of the Properties section.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (248681 => 248682)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-08-14 18:41:11 UTC (rev 248681)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-08-14 18:43:07 UTC (rev 248682)
@@ -1,5 +1,17 @@
 2019-08-14  Devin Rousso  <drou...@apple.com>
 
+        Web Inspector: Elements: Computed: the collapsed state of the Variables section should be separate from the collapsed state of the Properties section
+        https://bugs.webkit.org/show_bug.cgi?id=200725
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/ComputedStyleDetailsPanel.js:
+        (WI.ComputedStyleDetailsPanel.prototype.initialLayout):
+        Use a different identifier string for the Variable section so it preserves its own collapsed
+        collapsed state independent of the Properties section.
+
+2019-08-14  Devin Rousso  <drou...@apple.com>
+
         Web Inspector: Elements: Computed: the background of the Properties/Variables sections should match the Box Model section when expanded
         https://bugs.webkit.org/show_bug.cgi?id=200724
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js (248681 => 248682)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js	2019-08-14 18:41:11 UTC (rev 248681)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js	2019-08-14 18:43:07 UTC (rev 248682)
@@ -116,7 +116,7 @@
 
         let variablesRow = new WI.DetailsSectionRow;
         let variablesGroup = new WI.DetailsSectionGroup([variablesRow]);
-        this._variablesSection = new WI.DetailsSection("computed-style-properties", WI.UIString("Variables"), [variablesGroup]);
+        this._variablesSection = new WI.DetailsSection("computed-style-variables", WI.UIString("Variables"), [variablesGroup]);
         this._variablesSection.addEventListener(WI.DetailsSection.Event.CollapsedStateChanged, this._handleVariablesSectionCollapsedStateChanged, this);
 
         this.addSubview(this._variablesTextEditor);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to