RESOLVED FIXED 215138
Web Inspector: Use border-inline-start/end properties instead of border-left/right for DataGrid and Table
https://bugs.webkit.org/show_bug.cgi?id=215138
Summary Web Inspector: Use border-inline-start/end properties instead of border-left/...
Nikita Vasilyev
Reported 2020-08-04 14:36:29 PDT
Simplify LTR/RTL CSS code by using logical CSS properties. This is a follow up for Bug 214563 - Web Inspector: Change DataGrid and Table styles to closer match macOS.
Attachments
Patch (4.47 KB, patch)
2020-08-04 14:38 PDT, Nikita Vasilyev
hi: review+
Patch (4.67 KB, patch)
2020-08-04 14:52 PDT, Nikita Vasilyev
no flags
Nikita Vasilyev
Comment 1 2020-08-04 14:38:42 PDT
Devin Rousso
Comment 2 2020-08-04 14:43:34 PDT
Comment on attachment 405943 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=405943&action=review r=me, awesome! > Source/WebInspectorUI/UserInterface/Views/DataGrid.css:-96 > -body[dir=ltr] .data-grid th:not(:last-child) > .header-cell-content { please double check that removing `body[dir=*]` doesn't cause this to be overridden by some other CSS declaration due to a lower specificity > Source/WebInspectorUI/UserInterface/Views/DataGrid.css:97 > + border-inline-end: var(--data-grid-column-border-end); we should inline the `1px solid var(--border-color)` and eliminate `--data-grid-column-border-end` while we're at it too 😃
Nikita Vasilyev
Comment 3 2020-08-04 14:50:46 PDT
Comment on attachment 405943 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=405943&action=review >> Source/WebInspectorUI/UserInterface/Views/DataGrid.css:-96 >> -body[dir=ltr] .data-grid th:not(:last-child) > .header-cell-content { > > please double check that removing `body[dir=*]` doesn't cause this to be overridden by some other CSS declaration due to a lower specificity Valid concern but there are no other rules that set border on this element. >> Source/WebInspectorUI/UserInterface/Views/DataGrid.css:97 >> + border-inline-end: var(--data-grid-column-border-end); > > we should inline the `1px solid var(--border-color)` and eliminate `--data-grid-column-border-end` while we're at it too 😃 Makes sense.
Nikita Vasilyev
Comment 4 2020-08-04 14:52:03 PDT
EWS
Comment 5 2020-08-04 15:18:26 PDT
Committed r265262: <https://trac.webkit.org/changeset/265262> All reviewed patches have been landed. Closing bug and clearing flags on attachment 405946 [details].
Radar WebKit Bug Importer
Comment 6 2020-08-04 15:19:19 PDT
Note You need to log in before you can comment on or make changes to this bug.