Changeset 197659 in webkit
- Timestamp:
- Mar 6, 2016 10:41:51 PM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r197625 r197659 1 2016-03-06 Nikita Vasilyev <nvasilyev@apple.com> 2 3 Web Inspector: Use half-pixel borders for data grids 4 https://bugs.webkit.org/show_bug.cgi?id=154437 5 <rdar://problem/24736365> 6 7 Reviewed by Timothy Hatcher. 8 9 * UserInterface/Views/DataGrid.css: 10 (.data-grid.inline): 11 (.data-grid th): 12 (.data-grid :matches(th, td):not(:last-child)): 13 Half-pixel borders round to 1px on 1x (non-retina) screens since r192444. 14 15 * UserInterface/Views/DataGrid.js: 16 (WebInspector.DataGrid.prototype._positionResizerElements): 17 Use getBoundingClientRect for better precision since it provides subpixel values. 18 1 19 2016-03-05 Joseph Pecoraro <pecoraro@apple.com> 2 20 -
trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css
r197487 r197659 59 59 60 60 .data-grid.inline { 61 border: 1px solid var(--border-color);61 border: 0.5px solid var(--border-color); 62 62 } 63 63 … … 76 76 background-color: white; 77 77 78 border-bottom: 1px solid var(--border-color);78 border-bottom: 0.5px solid var(--border-color); 79 79 80 80 font-weight: normal; … … 88 88 89 89 .data-grid :matches(th, td):not(:last-child) { 90 border-right: 1px solid var(--border-color);90 border-right: 0.5px solid var(--border-color); 91 91 } 92 92 -
trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js
r197619 r197659 700 700 // header table in order to determine the width of the column, since 701 701 // it is not possible to query a column for its width. 702 left += this._headerTableBodyElement.rows[0].cells[i]. offsetWidth;702 left += this._headerTableBodyElement.rows[0].cells[i].getBoundingClientRect().width; 703 703 704 704 if (this._isColumnVisible(this.orderedColumns[i])) {
Note: See TracChangeset
for help on using the changeset viewer.