Title: [214002] trunk/Source/WebInspectorUI
Revision
214002
Author
[email protected]
Date
2017-03-15 12:35:02 -0700 (Wed, 15 Mar 2017)

Log Message

REGRESSION (r213622): Web Inspector: DataGrid headers should NOT be centered
https://bugs.webkit.org/show_bug.cgi?id=169645
<rdar://problem/31051520>

Reviewed by Matt Baker.

* UserInterface/Views/DataGrid.css:
(.data-grid th):
(body[dir=ltr] .data-grid th):
(body[dir=rtl] .data-grid th):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (214001 => 214002)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-03-15 19:34:22 UTC (rev 214001)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-03-15 19:35:02 UTC (rev 214002)
@@ -1,3 +1,16 @@
+2017-03-15  Nikita Vasilyev  <[email protected]>
+
+        REGRESSION (r213622): Web Inspector: DataGrid headers should NOT be centered
+        https://bugs.webkit.org/show_bug.cgi?id=169645
+        <rdar://problem/31051520>
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/DataGrid.css:
+        (.data-grid th):
+        (body[dir=ltr] .data-grid th):
+        (body[dir=rtl] .data-grid th):
+
 2017-03-15  Devin Rousso  <[email protected]>
 
         Web Inspector: SVG image content view should toggle between image and source

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css (214001 => 214002)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css	2017-03-15 19:34:22 UTC (rev 214001)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css	2017-03-15 19:35:02 UTC (rev 214002)
@@ -80,7 +80,6 @@
 .data-grid th {
     height: 22px;
     padding: 0 6px;
-    text-align: start;
     vertical-align: middle;
     font-weight: normal;
     white-space: nowrap;
@@ -88,6 +87,15 @@
     overflow: hidden;
 }
 
+/* FIXME: Use `text-align: start` once https://webkit.org/b/141417 is fixed. */
+body[dir=ltr] .data-grid th {
+    text-align: left;
+}
+
+body[dir=rtl] .data-grid th {
+    text-align: right;
+}
+
 body[dir=ltr] .data-grid :matches(th, td):not(:last-child) {
     border-right: var(--data-grid-column-border-end);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to