Changeset 49039 in webkit
- Timestamp:
- Oct 2, 2009 1:09:02 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r49036 r49039 1 2009-10-02 Joseph Pecoraro <joepeck@webkit.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Database Inspector crashes Safari when table has more than 21 columns 6 https://bugs.webkit.org/show_bug.cgi?id=29924 7 8 * inspector/front-end/StoragePanel.js: 9 (WebInspector.StoragePanel.prototype.dataGridForResult): adjust the minimum column width percentage to be flexible for many columns. 10 1 11 2009-10-02 Brian Weinstein <bweinstein@apple.com> 2 12 -
trunk/WebCore/inspector/front-end/StoragePanel.js
r48659 r49039 304 304 305 305 var columns = {}; 306 var numColumns = 0; 306 307 307 308 var rows = result.rows; … … 312 313 313 314 columns[columnIdentifier] = column; 315 ++numColumns; 314 316 } 315 317 … … 340 342 341 343 // Calculate the percentage width for the columns. 342 const minimumPrecent = 5;344 const minimumPrecent = Math.min(5, Math.floor(100/numColumns)); 343 345 var recoupPercent = 0; 344 346 for (var columnIdentifier in columns) {
Note: See TracChangeset
for help on using the changeset viewer.