Title: [201102] trunk/Source/WebInspectorUI
Revision
201102
Author
nvasil...@apple.com
Date
2016-05-18 15:16:22 -0700 (Wed, 18 May 2016)

Log Message

Web Inspector: ugly gaps in Call Trees data grid when expanding more than one level
https://bugs.webkit.org/show_bug.cgi?id=157829
<rdar://problem/26339922>

Reviewed by Timothy Hatcher.

Make a more specific CSS selector to avoid style conflicts.

* UserInterface/Views/DataGrid.css:
(.data-grid:not(.variable-height-rows) > .data-container > table.data > tbody > tr > td > div): Deleted.
(.data-grid:not(.variable-height-rows) > .data-container > table.data > tbody > tr > td > .cell-content):
* UserInterface/Views/DataGrid.js:
(WebInspector.DataGridNode.prototype.createCell):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (201101 => 201102)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-05-18 21:50:35 UTC (rev 201101)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-05-18 22:16:22 UTC (rev 201102)
@@ -1,3 +1,19 @@
+2016-05-18  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: ugly gaps in Call Trees data grid when expanding more than one level
+        https://bugs.webkit.org/show_bug.cgi?id=157829
+        <rdar://problem/26339922>
+
+        Reviewed by Timothy Hatcher.
+
+        Make a more specific CSS selector to avoid style conflicts.
+
+        * UserInterface/Views/DataGrid.css:
+        (.data-grid:not(.variable-height-rows) > .data-container > table.data > tbody > tr > td > div): Deleted.
+        (.data-grid:not(.variable-height-rows) > .data-container > table.data > tbody > tr > td > .cell-content):
+        * UserInterface/Views/DataGrid.js:
+        (WebInspector.DataGridNode.prototype.createCell):
+
 2016-05-18  Brian Burg  <bb...@apple.com>
 
         Web Inspector: InspectorFrontendAPI.setTimelineProfilingEnabled should not implicitly show Timelines tab

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css (201101 => 201102)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css	2016-05-18 21:50:35 UTC (rev 201101)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css	2016-05-18 22:16:22 UTC (rev 201102)
@@ -125,7 +125,7 @@
     background-size: 100% 40px;
 }
 
-.data-grid:not(.variable-height-rows) > .data-container > table.data > tbody > tr > td > div {
+.data-grid:not(.variable-height-rows) > .data-container > table.data > tbody > tr > td > .cell-content {
     height: 16px;
 }
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js (201101 => 201102)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js	2016-05-18 21:50:35 UTC (rev 201101)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js	2016-05-18 22:16:22 UTC (rev 201102)
@@ -2179,7 +2179,7 @@
         if (column["group"])
             cellElement.classList.add("column-group-" + column["group"]);
 
-        var div = cellElement.createChild("div");
+        var div = cellElement.createChild("div", "cell-content");
         var content = this.createCellContent(columnIdentifier, cellElement);
         div.append(content);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to