Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Issue 2894083002: [DevTools] Set row background instead of the table (Closed)

Created:
3 years, 7 months ago by eostroukhov
Modified:
3 years, 6 months ago
Reviewers:
dgozman, alph, allada
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Set row background instead of the table BUG=695197 Review-Url: https://codereview.chromium.org/2894083002 Cr-Commit-Position: refs/heads/master@{#474845} Committed: https://chromium.googlesource.com/chromium/src/+/35a7e7d29a36ec864267db7c057aa12aaa69b7ce

Patch Set 1 #

Total comments: 4

Patch Set 2 : [DevTools] Set row background instead of the table #

Total comments: 13

Patch Set 3 : Redone to rely on nth-child pseudo class #

Total comments: 1

Patch Set 4 : Tests were added #

Patch Set 5 : Fixed a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -26 lines) Patch
M third_party/WebKit/LayoutTests/inspector/components/datagrid.html View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/components/datagrid-expected.txt View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid-expected.txt View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/cookie_table/CookiesTable.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js View 1 2 2 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/data_grid/dataGrid.css View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ApplicationCacheItemsView.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/DatabaseQueryView.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/indexedDBViews.css View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/serviceWorkerCacheViews.css View 1 2 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
eostroukhov
3 years, 7 months ago (2017-05-18 22:31:19 UTC) #2
dgozman
https://codereview.chromium.org/2894083002/diff/1/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2894083002/diff/1/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1943 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1943: this.updateStripesBelowThisNode(previousNode ? !previousNode.isStriped() : false); Won't this make it ...
3 years, 7 months ago (2017-05-19 19:27:42 UTC) #3
eostroukhov
Thanks for the comments, addressed them. Please take another look. https://codereview.chromium.org/2894083002/diff/1/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2894083002/diff/1/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1943 ...
3 years, 7 months ago (2017-05-20 00:31:45 UTC) #4
dgozman
https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1276 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1276: this._isStriped = true; Please add a test for this ...
3 years, 7 months ago (2017-05-22 18:45:27 UTC) #5
allada
https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1965 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1965: return node.traverseNextNode(true, null, false); Can we inline this? https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1998 ...
3 years, 7 months ago (2017-05-22 19:10:29 UTC) #6
alph
https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1964 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1964: function next(node) { annotate plz https://codereview.chromium.org/2894083002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/networkLogView.css File third_party/WebKit/Source/devtools/front_end/network/networkLogView.css (right): ...
3 years, 7 months ago (2017-05-22 19:11:46 UTC) #7
eostroukhov
Please take another look. I redid the implementation with what I believe is easier/more maintainable. ...
3 years, 7 months ago (2017-05-24 18:04:46 UTC) #10
dgozman
Please add a test. Code lgtm https://codereview.chromium.org/2894083002/diff/40001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2894083002/diff/40001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1301 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1301: this._element = createElement('tr'); ...
3 years, 7 months ago (2017-05-25 00:12:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2894083002/80001
3 years, 6 months ago (2017-05-25 21:45:25 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-05-25 23:44:52 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/35a7e7d29a36ec864267db7c057a...

Powered by Google App Engine
This is Rietveld 408576698