Title: [215448] trunk/Source/WebInspectorUI
- Revision
- 215448
- Author
- [email protected]
- Date
- 2017-04-17 21:48:18 -0700 (Mon, 17 Apr 2017)
Log Message
Web Inspector: Use `text-align: start` for DataGrid headers
https://bugs.webkit.org/show_bug.cgi?id=170871
Reviewed by Matt Baker.
`text-align: start` didn't work for th elements.
It was fixed in <webkit.org/b/141417>.
* UserInterface/Views/DataGrid.css:
(.data-grid th):
(body[dir=ltr] .data-grid th): Deleted.
(body[dir=rtl] .data-grid th): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (215447 => 215448)
--- trunk/Source/WebInspectorUI/ChangeLog 2017-04-18 03:21:36 UTC (rev 215447)
+++ trunk/Source/WebInspectorUI/ChangeLog 2017-04-18 04:48:18 UTC (rev 215448)
@@ -1,3 +1,18 @@
+2017-04-17 Nikita Vasilyev <[email protected]>
+
+ Web Inspector: Use `text-align: start` for DataGrid headers
+ https://bugs.webkit.org/show_bug.cgi?id=170871
+
+ Reviewed by Matt Baker.
+
+ `text-align: start` didn't work for th elements.
+ It was fixed in <webkit.org/b/141417>.
+
+ * UserInterface/Views/DataGrid.css:
+ (.data-grid th):
+ (body[dir=ltr] .data-grid th): Deleted.
+ (body[dir=rtl] .data-grid th): Deleted.
+
2017-04-17 Joseph Pecoraro <[email protected]>
Web Inspector: Doesn't show size of compressed content correctly
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css (215447 => 215448)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css 2017-04-18 03:21:36 UTC (rev 215447)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css 2017-04-18 04:48:18 UTC (rev 215448)
@@ -80,6 +80,7 @@
.data-grid th {
height: 22px;
padding: 0 6px;
+ text-align: start;
vertical-align: middle;
font-weight: normal;
white-space: nowrap;
@@ -87,15 +88,6 @@
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